Dropdown is not suggesting const exported

I have the following file which exports a const named 'purpleTheme':

However when I try to export, Webstorm only suggests the filenames and not the const name:

On the other hand, Visual Studio suggests both filenames and const names:

0
1 comment

Using a constant name as a module-name in from clause is invalid, it has to be an URL to the .js file containing the module, with or without extension. VSCode has 2 suggestions for each file, with and without extension. WebStorm only shows available files, extension is added or omitted depending on the Use file extension option value (Settings | Editor | Code Style | JavaScript | Imports)

0

Please sign in to leave a comment.