You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to update the language server to the latest stable version #3977
In your settings.json, set "python.languageServer": "Microsoft". You will then be prompted to restart VS Code. If you have not downloaded the language server before then that will be triggered when you trigger the extension by opening a Python file.
Run the Extensions: Open Extensions Folder command
Quit VS Code
Open the folder containing the Python extension (name should have a prefix of ms-python.python)
Delete the folder containing the language server (has a prefix of languageServer)
Launch VS Code
Open a Python file
Wait for the language server to download and be unpacked
You can check the Output panel to double-check you are using the latest version (see above for a screenshot of what the panel looks like).
Installing the beta version
If you want to try out what is coming, you can try the beta version of the language server by setting "python.analysis.downloadChannel": "beta" (note that the setting isn't documented, so don't be alarmed if VS Code flags it as not existing). Do note that this will not re-download the language server immediately, so if you want to update immediately you will need to follow the instructions above on how to delete your current installation of the language server.
Activity
luabud commentedon Aug 19, 2022
Closing as stale.