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

Goto definition support for multiple lsps #11689

Open
summersz opened this issue Sep 13, 2024 · 0 comments
Open

Goto definition support for multiple lsps #11689

summersz opened this issue Sep 13, 2024 · 0 comments
Labels
A-command Area: Commands A-language-server Area: Language server client C-enhancement Category: Improvements

Comments

@summersz
Copy link

The go to definition only works for the first in the lsp list. If the first is unable to find the definition then it should fallback to the next.

This is relevant for at least angular with template strings, where the angular lsp provides go to definitions for html tags, and the typescript lsp for everything else - but I can't seem to have both working.

Or can injections be treated as the injected language? A go to definition within the injection would use the injected language configuration. Likewise for formatting, the injected language could use the formatter defined for it instead of the parent document.

@summersz summersz added the C-enhancement Category: Improvements label Sep 13, 2024
@kirawi kirawi added A-language-server Area: Language server client A-command Area: Commands labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands A-language-server Area: Language server client C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants