Python in Visual Studio Code gets 3 new extensions – Visual Studio Magazine
Python in Visual Studio Code gets 3 new extensions
The Python development team in Microsoft’s Visual Studio Code has introduced three new extensions: Black Formatter, isort, and Jupyter Powertoys.
The new tools, included in the May 2022 release of the Python and Jupyter extensions for VS Code, follow last month’s update in which the team announced it was splitting its Python extension into separate offerings. This extension is by far the most popular in the VS Code marketplace, with over 53 million installs. It provides IntelliSense, linting, debugging, etc.
“Our team is working to split support for the tools we offer in the Python extension into separate extensions, with the goal of improving performance, stability, and no longer requiring the tools to be installed in an environment Python – because they can come with an extension,” Karthik Nadig said last month, noting that Pylint was the first target.
The work continued in this month’s update.
“We now have a new extension for Black, the Python Formatter. Similar to the pylint extension, this new extension uses the Language Server Protocol to provide formatting support, and it ships with the latest version of Black – you so you no longer need to install it in a Python environment,” said Soojin Choi, program manager.
The isort extension, on the other hand, is used for sorting, as its name suggests. “When you open a file and your imports don’t meet isort’s standards, it displays an error diagnostic and provides a code action to correct the import order,” Choi said.
Finally, the Jupyter Powertoys extension is an experimental option for working with Jupyter notebooks with prototype features, including:
- Kernel management panel
- Contextual help
- Execution grouping
Along with the new extensions, the Jupyter tool can now be installed as a web extension for the web-hosted vscode.dev offering online.
David Ramel is an editor and writer for Converge360.