Fixing ES 6+ Import Autocompletion in Visual Studio Code 📎
"javascript.preferences.importModuleSpecifierEnding"
is set to "auto"
and is therefore unpredictable.
With the change to: "javascript.preferences.importModuleSpecifierEnding":"js"
Visual Studio Code
generates valid ES 6 imports. This is particular useful in vanilla Web Component applications: