Skip to content

Downgrade Python Language Server command #4986

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

Closed
itssimon opened this issue Mar 28, 2019 · 4 comments
Closed

Downgrade Python Language Server command #4986

itssimon opened this issue Mar 28, 2019 · 4 comments

Comments

@itssimon
Copy link

itssimon commented Mar 28, 2019

I like that the Python Language Server automatically updates itself in the background, but occasionally updates have rendered VSCode unusable due to high CPU usage or memory leaks. This obviously impacts my work.

It would be great to have an easy way of manually downgrading the language server until issues are resolved and another update is released.

Just for reference, I'm currently experiencing the issue described here and would love to just downgrade to the previous version of the LS which worked perfectly fine.

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Mar 28, 2019
@DonJayamanne DonJayamanne changed the title [Feature Request] Downgrade Python Language Server command Downgrade Python Language Server command Mar 28, 2019
@DonJayamanne
Copy link

We have no plans on supporting this feature.
Please consider one of the following:

  • Install an older version of the extension (you can do this from VS Code itself)
  • Use the Jedi language server (go into settings.json and enable the setting "python.jediEnabled": true

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Mar 28, 2019
@IzakMarais
Copy link

Here is a stack exchange post showing how to install an older version from VSCode itself.

@IzakMarais
Copy link

Install an older version of the extension (you can do this from VS Code itself)

This does not have the desired effect. Regardsless of which older version of the Python extension is installed it always seems to fetch the latest version of the Python language server.

In the screen shot below an older Python extension is still using the latest Language server. I have tried a couple of different versions of the Python extension and they all download this version of the language server.
image

@IzakMarais
Copy link

Use the Jedi language server (go into settings.json and enable the setting "python.jediEnabled": true

This is a successful workaround to the memory problem

@lock lock bot locked as resolved and limited conversation to collaborators Apr 26, 2019
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