Skip to content

“No result" when "peek reference" or "find all reference" in Python file #5125

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

Closed
futurehome opened this issue Apr 5, 2019 · 5 comments
Closed
Assignees
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug

Comments

@futurehome
Copy link

Issue Type: Bug

No specific operation, just launch code, and open an Python file, when I try to use "peek reference" or "find all reference", it shows "no results". These feature can be used before, maybe 2 months ago. I've disabled all other extensions, it still doesn't work.

image

Extension version: 2019.3.6352
VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.84GB (9.96GB free)
Process Argv
Screen Reader no
VM 0%
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 5, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 8, 2019
@karrtikr
Copy link

karrtikr commented Apr 8, 2019

Please inform if you are using jedi or language server as intellisense (i.e check the value of python.jediEnabled in settings.json)

@karrtikr karrtikr added the info-needed Issue requires more information from poster label Apr 8, 2019
@Alex206
Copy link

Alex206 commented Apr 9, 2019

I have the same problem. Jedi enabled in default, but disabled in user and workspace settings.

@karrtikr
Copy link

I have the same problem. Jedi enabled in default, but disabled in user and workspace settings.

Can you please elaborate? Do you see this issue while using Language server or Jedi. Please paste your 'Python' Output Panel.

@Alex206
Copy link

Alex206 commented Apr 11, 2019

I am not using Jedi. Here is the python Output Panel. I removed username and the long search path list:

Starting Microsoft Python language server.
[Info - 10:36:32] GetCurrentSearchPaths C:\Users\XXX\python.exe
[Info - 10:36:32] Python search paths:
[Info - 10:36:32] d:\software\XXX_python\python34_original\dlls
[Info - 10:36:32] d:\software\XXX_python\python34_original\lib
[Info - 10:36:32] d:\software\XXX_python\python34_original
[Info - 10:36:32] c:\users\XXX19_2_pure
[Info - 10:36:32] c:\users\XXX19_2_pure\lib\site-packages
[Info - 10:36:32] Configuration search paths:
[Info - 10:36:32] C:\Program Files\XXX\bin
[Info - 10:36:32] C:\Program Files\XXX\APIs\Python\lib
And so with all the paths...
[Info - 10:36:36] Microsoft Python Language Server version 0.2.47.0
[Info - 10:36:36] Initializing for C:\Users\XXX_19_2_pure\Scripts\python.exe
##########Linting Output - pylint##########


Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

@karrtikr karrtikr added needs upstream fix bug Issue identified by VS Code Team member as probable bug area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. and removed info-needed Issue requires more information from poster triage labels Apr 16, 2019
@karrtikr
Copy link

Issue moved to Microsoft/python-language-server #963 via ZenHub

@ghost ghost removed the needs upstream fix label Apr 16, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants