Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

IntelliSense tooltip always shows the same three top hits (even w/o relation) #2011

@haimat

Description

@haimat

Environment data

  • VS Code version: 1.44.2
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.9 64-bit on WSL2
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): n/a
  • Relevant/affected Python packages and their versions: none
  • Relevant/affected Python-related VS Code extensions and their versions: none (maybe IntelliCode?)
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version vscode-python#3977): Language Server
  • Value of the python.languageServer setting: Microsoft

Expected behaviour

The IntelliSende tooltip should show the most relevant suggestions in the tooltip.

Actual behaviour

I always get the same three suggestions on top.
Regardless of the context, i.e. regardless of what I am typing.

Steps to reproduce:

For me it's easy to reproduce, I see this behaviour with any Python file.
Maybe some screenshots help:

IntelliSense Bug 2
IntelliSense Bug 3
IntelliSense Bug 1

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'WebHostNotebook - control'
User belongs to experiment group 'LocalZMQKernel - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
User belongs to experiment group 'EnableIPyWidgets - experiment'
> conda --version
> pyenv root
> python3.7 ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3 ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python2 ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> python3.6 ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import sys;print(sys.executable)"
> conda info --json
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipeapp.py
cwd: /data/Projects/Polo/dev
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipeapp.py
cwd: /data/Projects/Polo/dev
##########Linting Output - flake8##########
Starting Microsoft Python language server.
Python interpreter path: /usr/bin/python
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
> conda --version
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipecheck.py
cwd: /data/Projects/Polo/dev
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipecheck.py
cwd: /data/Projects/Polo/dev
##########Linting Output - flake8##########
> /usr/local/bin/black --line-length=120 --diff --quiet /data/Projects/Polo/dev/pipecheck/pipeapp.py.7890ba81a6778425402224b1ebc8a0e5.py
cwd: /data/Projects/Polo/dev
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipeapp.py
cwd: /data/Projects/Polo/dev
> /usr/bin/python ~/.vscode-server/extensions/ms-python.python-2020.4.74986/pythonFiles/pyvsc-run-isolated.py flake8 --max-line-length=120 --ignore=E203 --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s /data/Projects/Polo/dev/pipecheck/pipeapp.py
cwd: /data/Projects/Polo/dev
##########Linting Output - flake8##########

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions