Override LSP go to definition? #918
Unanswered
AlexanderHott
asked this question in
Q&A
Replies: 1 comment
-
Hey, we do have an ongoing discussion around this. The difficulty is that the templ lsp doesn't run on go files: #387 But we do want to solve it, it's just a bit more nuanced than we first thought. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to override the default behavior of go to definition to navigate to the templ file instead of the generated go file?
I use both neovim and JetBrains Goland, but neither of them have this feature available (that I could find).
I looked a bit into the lsp goto definition spec, and it seems not too difficult to implement. Am I mistaken, or is there a workflow that I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions