Skip to content

Feature request: Goto definition for .heex templates #1155

Open
@rudiejd

Description

@rudiejd

When writing .heex templates, I often want to jump between the template and function and/or module component definitions in my mix project. However, I am currently unable to jump to the definition of a component in elixirls.

For example, if you want to test this out, you can make a new Phoenix project and try to go-to definition on the <.simple_form> component. I would expect this to take me to the simple_form/1 definition in the core_components.ex file, but instead there is no navigation.

Version: v0.26.2
Editor: Neovim v0.11.0-dev-1272+g3d3a99e69c
OS: MacOS Mojave
Elixir/Erlang: Elixir 1.18.1 (compiled with Erlang/OTP 27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions