-
Trying out eglot with When I am on a function call (of a function properly defined in the same file) I would like to jump to the declartion of the function. So I issue However I then get the following error "Sorry, this server doesn't do :textDocument/declaration" - Why's that? And any ideas how I can fix this? Thanks for any pointers! PS: When I used |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I got the same error with jdtls (Eclipse Java language server) , while lsp-mode works as expected too. |
Beta Was this translation helpful? Give feedback.
-
This means the server said it had no support for the textDocument/declaration method in the initial exchange between the client and the server. If you want to fix this, you need to modify the server. More likely though, you can use find-definition, which more servers seem to support. The README has more info about this. |
Beta Was this translation helpful? Give feedback.
This means the server said it had no support for the textDocument/declaration method in the initial exchange between the client and the server. If you want to fix this, you need to modify the server. More likely though, you can use find-definition, which more servers seem to support. The README has more info about this.