Skip to content

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

Closed

Description

@futurehome

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%

Activity

  1. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Apr 5, 2019
  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Apr 8, 2019
  3. karrtikr commented on Apr 8, 2019

    @karrtikr

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

  4. Alex206 commented on Apr 9, 2019

    @Alex206

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

  5. karrtikr commented on Apr 10, 2019

    @karrtikr

    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.

  6. Alex206 commented on Apr 11, 2019

    @Alex206

    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)

  7. added
    bugIssue identified by VS Code Team member as probable bug
    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
    and removed
    info-neededIssue requires more information from poster
    on Apr 16, 2019
  8. karrtikr commented on Apr 16, 2019

    @karrtikr
  9. locked as resolved and limited conversation to collaborators on May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions