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

Jump to tag/symbol #535

Open
IamGianluca opened this issue Apr 5, 2019 · 1 comment
Open

Jump to tag/symbol #535

IamGianluca opened this issue Apr 5, 2019 · 1 comment

Comments

@IamGianluca
Copy link

IamGianluca commented Apr 5, 2019

I was wondering if there is an equivalent way in python-language-server to jump to a tag/symbol ― possibly with completion. With ctags, this should be possible via the :tag command. What I'm looking for is something like the following:

  1. Go in command mode in Vim/Neovim
  2. Type an equivalent command to :tag
  3. Start typing the function/class name (possibly use tab to autocomplete)
  4. Press enter and jump to where such function/class is defined

I'm already aware of the functionality that allows jumping to the definition of the reference under the cursor.

BTW, I'm not using ctags. I'm looking for a way to do that using just python-language-server. In my mind, LSP should eventually replace ctags. Am I wrong?

@gatesn
Copy link
Contributor

gatesn commented Jun 4, 2019

I believe this functionality relies on the workspace/symbols LSP command: #70

This language server doesn't try to perform the analysis, but instead calls out to other libraries. I have an attempt here that uses ctags: #507

But otherwise a FR to Jedi might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants