Salsa Feature Request: Support 'fuzzy' go to definition when not using commonJS #9737
Labels
Domain: JavaScript
The issue relates to JavaScript specifically
Domain: Symbol Navigation
Relates to go-to-definition, find-all-references, highlighting/occurrences.
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
VS Code Tracked
There is a VS Code equivalent to this issue
When a JS project doesn't use CommonJS as the module system then there is no support for 'go to definition'. Similar as is done for Intellisense where Salsa proposes global symbols that match, Salsa should provide some 'fuzzy' definition locations of a symbol.
This extension is an attempt to fill this gap. However, it is limited and it uses a full text search with some regular expression matching for location. Salsa could do much better than this.
The text was updated successfully, but these errors were encountered: