Microsoft's Python in Visual Studio Code tool dev team announced a new experimental extension for setting up Python environments with an unusual name: WWBD, standing for "What Would Brett Do?" for Python environments.
It's named after its creator, Brett Cannon, engineering manager for the main Python extension who is also a member of the Python Steering Council.
"Through a command called 'WWBD: Create environment,' it offers a very opinionated flow of creating a virtual environment using venv, and automatically installing dependencies if they're listed in a requirements file on the workspace," said Microsoft's Luciana Abud, program manager for the Python extension in VS Code team. According to Python documentation, venv is a module for creating lightweight "virtual environments" with their own site directories, which can optionally be isolated from system site directories.
The preview WWBD extension emphasizes the experimental tool is very opinionated, noting, "While the supported project structures and workflows are considered common enough, do not be surprised if your particular workflow is not supported, especially if they would be considered advanced to someone new to Python.
"This extension is meant act as a playground for the Python extension around environments and solicit feedback on this extension's functionality. If you have any feedback, please start a discussion. Popular functionality may make it's way into the Python extension itself." Being brand-new, there isn't much discussion now, and the tool has only been installed 82 times, while the GitHub repo shows six stars.
The main Python extension is by far and away the most popular tool in the VS Code marketplace, boasting more than 58 million installs. Other highlights of the regular monthly update to the tool include:
Many other changes and enhancements ae detailed in the announcement post.
David Ramel is an editor and writer for Converge360.
Microsoft's TypeScript programming language over the past few years has been steadily climbing the popularity rankings in Stack Overflow's huge annual developer survey, this year knocking off Java to crack the top five.
In the latest Visual Studio 2022 preview, developers can edit source code from within All-In-One Search results.
VMware announced a new Visual Studio toolkit for working with Kubernetes clusters, containers, microservices and other cloud-native tech in its Tanzu line of products.
Rust rules among programming languages used for WebAssembly projects, but Blazor (C#) is coming on strong.
Trying out some hidden functionality that can be enabled with a few mouse clicks (and maybe an IDE restart).
Problems? Questions? Feedback? E-mail us.