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

Import "go to definition" not working for specific import value #49

Open
niksy opened this issue Nov 8, 2024 · 1 comment
Open

Import "go to definition" not working for specific import value #49

niksy opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@niksy
Copy link
Contributor

niksy commented Nov 8, 2024

When trying to "go to definition" for specific import, nothing happens, but the same functionality works when using command on import path.

For example, I would expect this would work when running command on style_asset, but this only works when running command on "helpers.html.twig".

base.html.twig
Screenshot 2024-11-08 at 14 28 53

helpers.html.twig
Screenshot 2024-11-08 at 14 29 04


Running default Symfony project, with Sublime Text custom LSP client for Twiggy.

This is maybe related to language server specifically. I suppose this works for VS Code extension? Maybe it would be best if this functionality gets implemented in language server so every other editor can benefit from this.

@moetelo
Copy link
Owner

moetelo commented Nov 11, 2024

Yeah, this is related to the language server. VS Code part basically consists of nothing but run server for each of the open folders and add space character when you type '{{'

@moetelo moetelo added the bug Something isn't working label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants