Microsoft has released a new version of its hit Python extension for its cross-platform code editor Visual Studio Code (VS Code) that makes its Pylance language server the default.
Microsoft started work on Pylance last June and promised it had “the ability to supercharge your Python IntelliSense experience with rich type information, helping you write better code faster.”
IntelliSense is Microsoft’s answer to automatic code completion to help developers skip through repetitive coding tasks and boost productivity. The Python extension for VS Code is by far the most popular extension for the Microsoft code editor and speaks to the language’s admiration when it comes to machine learning and data science, as well as the popularity of VS Code among developers. Savannah Ostrowski, a program manager for the Pylance Python Language Server and Python in Visual Studio commented:
“We’re thrilled to announce that Pylance is now the default language server for Python and is bundled with the core Python extension as an optional extension starting with this release. We’ve been making dramatic improvements to Python language support via the Pylance extension. As of this release, we’ve included the Pylance extension as an optional dependency for the core Python extension. This means that you’ll get the latest and greatest language support right out of the box with the Python extension (no separate install needed!)”
The Pylance extension works alongside the Python extensions in VS Code to boost performance. It’s powered by Microsoft’s static type checking tool, Pyright.
Microsoft is recommending VS Code users to try the Pylance language server for a faster experience but notes that developers can configure the development environment to use other language servers, like open-source Jedi.