Skip to content

Preview of the new Python bundle in Visual Studio Code

Luciana Abud edited this page May 5, 2021 · 1 revision

In this preview, we’ve bundled Pylance as an optional dependency to the core Python extension. If you are an existing user of our Insiders program of the Python extension, have not previously configured a language server and are on the official build of Visual Studio Code, you will have the Pylance extension installed for you and automatically get Pylance functionality as your default experience.

If you’ve previously configured another language server (e.g., Jedi, Microsoft), you will still have the Pylance extension installed as part of the core Python extension, but your previous language server setting will be honored, and your experience will remain unchanged. If you are interested in trying out Pylance, you can either flip your python.languageServer setting to “Default” or “Pylance” to activate the new language server.

If you don’t want to use Pylance or can’t for any reason, you can uninstall or disable it at any point and return to use the Jedi language server. You can also change your language server via the settings UI or in your settings.json, by editing the value of python.languageServer setting. If you uninstall or disable Pylance, change your language server setting, or are on an unofficial build of Visual Studio Code, your language server will automatically be set to the Jedi language server.

Learn more at Pylance’s FAQ.