You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user has started an import declaration, with the cursor in the position where you should provide a module name for the import, an editor should be able to provide a list of applicable module names.
Discussion/Challenges
For this feature to work, you need to be aware of all project modules including modules from 3rd party dependencies (+ default imports). This might be out of scope for AST support as such.
For this too work at all, the AST would have to support being in an illegal state
Details
Let's say I've imported HTML and I'm in a module where everything is in a legal state, I then write
import Ht - I should now get a suggestion of Html, Html.App etc
Need to be able to list all import declaration nodes, to be able to filter dupes
The text was updated successfully, but these errors were encountered:
Summary
When the user has started an import declaration, with the cursor in the position where you should provide a module name for the import, an editor should be able to provide a list of applicable module names.
Discussion/Challenges
Details
Let's say I've imported HTML and I'm in a module where everything is in a legal state, I then write
import Ht
- I should now get a suggestion ofHtml
,Html.App
etcThe text was updated successfully, but these errors were encountered: