-
-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Describe the bug
Currently if you have a component missing it's import, there is no way to add it via Quick Fix (Command + ., light bulb, or hover => Quick Fix...)
The import suggestion does show up during auto complete suggestion (i.e. while you have a partial bit of the component name typed)
This doesn't work great when copy/pasting components between files, or if you miss the autocomplete initially.
A current workaround I use is to remove the last character of the component name so the autocomplete suggestion kicks in. Not optimal, and a little slower especially when you bring in a big block with many references.
To Reproduce
Add a component without an import and attempt to resolve using one of the Quick Fix methods.
Expected behavior
The ability to add an import via Quick Fix (similarly to autocomplete's "auto import ...").
System:
- OS: MacOS
- IDE: VSCode
- Plugin/Package: Svelte for VSCode




