samme
samme2y ago

VSCode "quick fix" for missing import doesn't use import map

When adding a missing import via option + Enter, it will suggest the full URL, despite that URL being in my import map. After accepting the suggestion, it'll suggest to change the import to use the value in the import map instead. Can this be configured to be one operation instead of two?
1 Reply
samme
sammeOP2y ago
GitHub
lsp: import quick fixes and import suggestions consider import maps...
We don't properly consider import maps when providing import completion suggestions or quick fixes.

Did you find this page helpful?