google / google/closure-compiler
LSP for goog.module navigation
Open
internal-issue-created
triage-done
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
https://groups.google.com/d/msg/closure-compiler-discuss/9yJE3VmWb2M/cz6yuDMrEgAJ
Editors like VSCode provide helpful assistance around ES6 imports:
- You can navigate to an import
- Hovering over an import shows the exports available
- Hovering over an imported symbol shows the definition of that symbol
I was wondering if anyone has looked into supporting that with goog.module?
It should be possible to implement a language server module that implements that bit of analysis and use it for any editor:
https://code.visualstudio.com/api/language-extensions/language-server-extension-guide#implementing-a-language-server
Contributor guide
Assessment
This issue has not been assessed yet.