-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Installation/activation
To activate it, open your settings and add the following:
"python.jediEnabled": false
You will then get prompted to restart VS Code:
Upon restarting and opening a Python file (to trigger the Python extension), the language server will begin downloading:
It will then be extracted:
Once downloaded, it may begin analyzing your environment (dependent on what files you have opened, what those files import, etc.).
FAQ
Why am I not seeing completions?
First, make sure you have set your pythonPath as described here:
https://code.visualstudio.com/docs/python/editing#_troubleshooting
Otherwise, you may need to wait for workspace analysis to progress further. IntelliSense results will start showing up as you type, not all results will be immediately available.
You can enabling tracing to see the current analysis status (the modules being analyzed) by adding the following setting to your settings.json (File -> Preferences -> Settings -> {}
button in upper right corner):
"python.analysis.loglevel": "trace"
Should the analysis of my workspace take a long time?
No. We have received reports that at least for some Anaconda users on Windows 10 the initial analysis step after download seems to never complete. Restarting VS Code should fix the problem.
What is the download size of the language server?
It depends on your OS, but it's about 30 MB regardless.
How do I download a newer version of the language server?
- Quit VS Code
- Go into the folder for the extension (the folder name will start with
ms-python.python
) - Delete the
languageServer
directory - Start VS Code and open a Python file to load the Python extension
- The download of the language should be triggered
I think I found an issue, how do I report it?
First, check that the issue has not already been reported. If it has been reported, then please leave a 👍 on the issue so we know how widespread the problem is (please don't leave a comment as that bothers the person who reported the initial bug).
If the issue hasn't previously been reported then please report a new issue, making sure to specify when you downloaded the language server.