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

Jedi: Goto definition, goto declaration #323

Open
skelutten opened this issue Sep 4, 2024 · 0 comments
Open

Jedi: Goto definition, goto declaration #323

skelutten opened this issue Sep 4, 2024 · 0 comments

Comments

@skelutten
Copy link

I issued a ticket on VSCode Jedi support where the answer was to put the ticket here instead:
microsoft/vscode-python#24015

Environment data
VS Code version: 1.91.1 (Code OSS)
Extension version (available under the Extensions sidebar): v2024.12.3
OS and version: Linux Redhat 8
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.13
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions:
Relevant/affected Python-related VS Code extensions and their versions: N/A
Value of the python.languageServer setting: jedi

Expected behaviour
Right click on function call + Go to definition / F12 should work.
Right click on function call + Go to declaration should work.

Actual behaviour
Goto definition results in a blue progressbar in the top of the editor for a few seconds then nothing more happens.
Goto declaration seems to works and correct function is displayed.

Same setup with "normal VSCode" (Not Code OSS) and using Pylance works well. But I need to use the Code OSS version and thus can't use Pylance and seems to only have the option of using Jedi.

Steps to reproduce:
On a quite large project with many modules:
Right click on a function call + Go to definition / F12

Found a similar issue microsoft/vscode-python#14299
which refers to using Pylance instead, but as stated above I need to use Jedi.

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

1 participant