elm-language-server
elm-language-server copied to clipboard
Auto import qualified
Expected Behavior
When activating quickfix through the vscode command "editor.action.quickFix",
while the cursor is hovering over a non-imported qualified import (such as Attribute.none
),
I want to get auto-import suggestions for qualified imports (such as "Import Element.Attribute as Attribute").
Current Behavior
No qualified import available on "quickFix"
Possible Solution
- Use pretty much the same logic as for unqualified imports to get the candidates for import
- Give options to import with the "as [...]" postfix
Context
Auto importa are nice, it would be lovely to have it for qualified imports as well