Skip to content

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

@niksy

Description

@niksy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions