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

IntelliSense is not working after latest update #2134

Open
andreixk opened this issue Dec 4, 2020 · 2 comments
Open

IntelliSense is not working after latest update #2134

andreixk opened this issue Dec 4, 2020 · 2 comments

Comments

@andreixk
Copy link

andreixk commented Dec 4, 2020

Environment data

  • VS Code version: 1.51.1
  • Extension version (available under the Extensions sidebar): 2020.11.371526539
  • OS and version: Darwin x64 19.6.0
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.2
  • 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
  • Value of the python.languageServer setting: Microsoft

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

IntelliSense to show suggestions

Actual behaviour

image

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Create new document
  2. Set language to Python
  3. enter the following code:
import os
os.
  1. Press ctrl+space
@luabud
Copy link
Member

luabud commented Dec 7, 2020

Thanks for your feedback! We have recently released a new and more performant language server called Pylance which likely solves these issues you are reporting. You can download Pylance from the marketplace and install it alongside the core Python extension. Because our team's development efforts have shifted to support the new language server, we'd encourage you to try it out.

In the meantime, I'll transfer this issue over to the Microsoft Python Language Server repo for tracking. If you try out Pylance and this issue persists, you can open an issue on the pylance-release repo.

@luabud luabud transferred this issue from microsoft/vscode-python Dec 7, 2020
@saschametz
Copy link

@luabud Thanks for the tip with Pylance. I had an issue with the latest update that marked all imports as "unresolved import". After installing the extension it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants