-
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
I propose adding a setting for turning off the feature that looks up symbols across the files in a project and automatically imports them unqualified.
Expected Behavior
A setting in the server, and in any plugins, for enabling/disabling auto-imports.
Current Behavior
There are no settings for auto-imports.
Context
When there are multiple Elm files containing similar symbols, auto-imports happen accidentally (at least in visual studio code). This can hurt more than it helps, and has resulted in
- me checking in import lines unintentionally
- errors when unqualified imports clash
I like to be intentional about my imports, so if there was a setting for turning auto-imports off, I would use it.
The auto-imports would be more helpful to me
- if triggered with confirmation rather than on auto-complete, but that might be outside the control of a plugin/extension.
- if they imported symbols qualified (I am under the impression that this is considered good Elm style).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request