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

Support go to component definition from heex templates #21

Open
onnimonni opened this issue Dec 31, 2023 · 2 comments
Open

Support go to component definition from heex templates #21

onnimonni opened this issue Dec 31, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@onnimonni
Copy link

Currently it's not easy to navigate from components used in heex templates into the elixir file containing the component definition.

Similarly it would really help if we could show the implemented slots directly by hovering over the component or when writing a new component.

More information here: https://elixirforum.com/t/navigating-from-heex-templates-to-core-components-ex-in-vscode/60593

@chrismccord
Copy link
Member

We'd gladly accept a PR that adds this! Thanks!

@chrismccord chrismccord added the help wanted Extra attention is needed label Jan 1, 2024
@joshchernoff
Copy link

joshchernoff commented Jan 14, 2024

two things come to mind.
I assume it will need to know the difference between knowing to point you to the module head vs the function head cause you could be navigating from a functional component or a full fledged liveview. Maybe hashing out what you wish you had here will help other contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants