Skip to content

Autocomplete while importing functions and go to definition not working. #10346

@ivnle

Description

@ivnle

Environment data

  • VS Code version: 1.42.1
  • Extension version (available under the Extensions sidebar): 2020.2.64397
  • OS and version: Windows 10 Home 64-bit (10.0, Build 17763)
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.9
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • 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 #3977): How do I find this?
  • Value of the python.languageServer setting: How do I find this?

Expected behaviour

  1. Highlighting a function and pressing f12 takes me to the file with the function's definition.
  2. Importing a function from another file generates a dropdown with the function as a suggestion for autocompletion.

Actual behaviour

image
image

Steps to reproduce:

N/A

Logs

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

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
N/A

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions