Microsoft's Python Extension For VS Code Just Added The Fast-coding Pylance Language Server

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. 

SEE: Hiring Kit: Python developer (TechRepublic Premium)

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.

"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," said Savannah Ostrowski, a program manager for the Pylance Python Language Server and Python in Visual Studio. 

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. 

"We've been making dramatic improvements to Python language support via the Pylance extension," says Ostrowski in a blogpost

"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!)," says Ostrowski. 

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.

"We are committed to maintaining open-source language support options for our users in the future," she notes. 

SEE: Programming languages: JavaScript has most developers but Rust is the fastest growing

VS Code users can uninstall or disable the Pylance extension at will and, once it's uninstalled, it won't re-install when the Python extension updates. 

Microsoft also boasts that the Python extension it develops for VS Code now loads 10% faster for Windows and macOS systems, and 20% faster for Linux systems. 

Ostrowski says the Python extension now has better debugging, building on its existing support for the web-focussed Django and Flask frameworks for Python.

RECENT NEWS

Reassessing AI Investments: What The Correction In US Megacap Tech Stocks Signals

The recent correction in US megacap tech stocks, including giants like Nvidia, Tesla, Meta, and Alphabet, has sent rippl... Read more

AI Hype Meets Reality: Assessing The Impact Of Stock Declines On Future Tech Investments

Recent declines in the stock prices of major tech companies such as Nvidia, Tesla, Meta, and Alphabet have highlighted a... Read more

Technology Sector Fuels U.S. Economic Growth In Q2

The technology sector played a pivotal role in accelerating America's economic growth in the second quarter of 2024.The ... Read more

Tech Start-Ups Advised To Guard Against Foreign Investment Risks

The US National Counterintelligence and Security Center (NCSC) has advised American tech start-ups to be wary of foreign... Read more

Global IT Outage Threatens To Cost Insurers Billions

Largest disruption since 2017’s NotPetya malware attack highlights vulnerabilities.A recent global IT outage has cause... Read more

Global IT Outage Disrupts Airlines, Financial Services, And Media Groups

On Friday morning, a major IT outage caused widespread disruption across various sectors, including airlines, financial ... Read more