(Edited):
It seems unlikely that the Elixir LS will support Phoenix Component syntax directly, at least for the time being.
What could we do to enable go to definition for imported Phoenix function components (like <.table>
defined in core_components.ex
) ?
1 Like
FWIW, jump to definition works with tags files (exuberant ctags, universal ctags) on function components
The problem is that the language server does not yet support it. While this is a solution, I don’t think it is the right solution
The correct thing to do would be to fix this in elixir-ls instead of enforcing this default on everyone
1 Like
Good point, I’ll amend my post to pivot to that discussion