Skip to content

Cannot jump to the declaration of a symbol #739

Answered by nemethf
halloleo asked this question in Q&A
Discussion options

You must be logged in to vote

I'm afraid Eglot is right in this case. Pyls does not implement textDocument/declaration. See its hookspecs. Additionally pyls is more or less abandoned. Pylsp is the new pyls, but there seems to be no difference in this regard. (Well, pylsp is almost the same as pyls.)

Have you tried xref-find-definitions or xref-find-references? Maybe those help you jump to the point of the declaration.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@halloleo
Comment options

Answer selected by joaotavora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants