Share this article
Latest news
With KB5043178 to Release Preview Channel, Microsoft advises Windows 11 users to plug in when the battery is low
Copilot in Outlook will generate personalized themes for you to customize the app
Microsoft will raise the price of its 365 Suite to include AI capabilities
Death Stranding Director’s Cut is now Xbox X|S at a huge discount
Outlook will let users create custom account icons so they can tell their accounts apart easier
What’s new in the latest Python Extension releases for Visual Studio Code?
2 min. read
Published onApril 4, 2022
published onApril 4, 2022
Share this article
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
In this article
Toggle
Python is not something you would traditionally associate with Microsoft or Visual Studio, however the Python team at Microsoft has been hard at work making sure the Python developer experience on Visual Studio Code is top notch. Today let’s have a look at some of the latest features available on the platform.
Smart Selection
The team worked on improvements to keyboard code selection via Pylance. Now users can expand their code with “Shift + Alt + Right Arrow” or collapse it with “Shift + Alt + Left Arrow”
Folding Support
Also in Pylance, folding support has been greatly improved. Before folding regions was strictly performed based on indentation; this was very rudimentary and error prone. Folding now correctly takes semantic information into account when folding regions of code.
Environment Manager Extension
Now its possible to inspect Python environments and their packages with the Python Environment Manager extension. This extension can be used to check which packages are installed as well as their versions.
Pylint extension
Linting support is being broken out from the Python extension into its own. The idea is to facilitate quicker improvements to performance and reliability. This new extension uses the Language Server Protocol to provide linting support. The new extensionis available in the marketplace, to avoid seeing duplicates in the Problems panel make sure you disable the built-in linting support.
We covered some of what I think are the most noteworthy recently released features for Python developers using Visual Studio Code. To learn more check out these awesome resources from Microsoft. You can also give@luumelo14a follow for awesome Python + Microsoft developments.
Radu Tyrsina
Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time).
For most of the kids of his age, the Internet was an amazing way to play and communicate with others, but he was deeply impressed by the flow of information and how easily you can find anything on the web.
Prior to founding Windows Report, this particular curiosity about digital content enabled him to grow a number of sites that helped hundreds of millions reach faster the answer they’re looking for.
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Radu Tyrsina