-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Go To Definition using Jedi only moves cursor #7280
Comments
Hi @OutOfFocus4 👋 Thank you for reporting this issue and providing sample code 👍 I could reproduce this issue locally, can confirm that it appeared when we updated the extension to use jedi 0.15.1, so in version 2019.9.34474 and onwards. Notes
vscode-python/pythonFiles/completion.py Lines 576 to 578 in 0d598e4
|
Once #11995 is addressed we should see if this is fixed by it |
This is fixed with Jedi behind LSP. |
Issue Type: Bug
Since the latest update, when I try to use "Go To Definition" to open a file in my project's venv, it only moves the cursor.
Everything works if I switch to the language server.
Steps to reproduce:
Create a Python file with the following contents:
CTRL
+ click onassertRaises
orassertNotEqual
. The cursor will move to the last line of the file.The problem isn't in Jedi, since the following script gives the correct output:
Extension version: 2019.9.34911
VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:51:09.716Z)
OS version: Linux x64 4.15.0-60-generic snap
System Info
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
The text was updated successfully, but these errors were encountered: