We are pleased to announce that the July 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python ex

Python in Visual Studio Code – July 2021 Release

submited by
Style Pass
2021-07-22 05:30:05

We are pleased to announce that the July 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about  Python support in Visual Studio Code in the documentation.

We’re excited to announce that we’ve added a new quick fix to to allow you to more quickly configure your Python project roots!

A common issue we’ve heard developers experience in VS Code is seeing diagnostics (or yellow squiggles) under import statements when they open new projects and then not knowing what to do to resolve them.

Previously, configuring project roots would require setting python.analysis.extraPaths to tell Pylance what search paths to use for import resolution (that is, for finding the paths of packages that are imported to get the information necessary to provide IntelliSense features). Now, you’re able to skip the step of manually fiddling with your settings.json and trying to figure out the right search paths to add to extraPaths and instead have Pylance guide you via the editor.

Leave a Comment