Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta issue for the Python language server #2177

Closed
brettcannon opened this issue Jul 17, 2018 · 1 comment
Closed

Meta issue for the Python language server #2177

brettcannon opened this issue Jul 17, 2018 · 1 comment
Labels
meta Issue that is tracking an overall project

Comments

@brettcannon
Copy link
Member

brettcannon commented Jul 17, 2018

Installation/activation

To activate it, open your settings and add the following:

"python.jediEnabled": false

You will then get prompted to restart VS Code:

restart

Upon restarting and opening a Python file (to trigger the Python extension), the language server will begin downloading:

download

It will then be extracted:

extract

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?

  1. Quit VS Code
  2. Go into the folder for the extension (the folder name will start with ms-python.python)
  3. Delete the languageServer directory
  4. Start VS Code and open a Python file to load the Python extension
  5. 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.

@brettcannon brettcannon added the meta Issue that is tracking an overall project label Jul 17, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 17, 2018
@MikhailArkhipov
Copy link

Closing since issues were ported to the LS repo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
meta Issue that is tracking an overall project
Projects
None yet
Development

No branches or pull requests

2 participants