Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP for goog.module navigation #3441

Open
rishipal opened this issue Jul 25, 2019 · 1 comment
Open

LSP for goog.module navigation #3441

rishipal opened this issue Jul 25, 2019 · 1 comment
Labels
internal-issue-created An internal Google issue has been created to track this GitHub issue triage-done Has been reviewed by someone on triage rotation.

Comments

@rishipal
Copy link
Contributor

rishipal commented Jul 25, 2019

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

@rishipal
Copy link
Contributor Author

Created internal issue http://b/138398300

@rishipal rishipal added the internal-issue-created An internal Google issue has been created to track this GitHub issue label Jul 30, 2019
@tjgq tjgq added the triage-done Has been reviewed by someone on triage rotation. label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-issue-created An internal Google issue has been created to track this GitHub issue triage-done Has been reviewed by someone on triage rotation.
Projects
None yet
Development

No branches or pull requests

2 participants