MITB Banner

Microsoft Enhances Editing Experience With Python 2.7 In Visual Studio

Microsoft has included Pylance charged module for renaming; enhanced editing experience and updated debugging with Python 2.7.

Share

Microsoft has announced the December 2021 release of the Python Extension for Visual Studio Code. The announcement includes a Pylance charged module for renaming; an enhanced editing experience when working with virtual or untrusted workspaces; and an update regarding debugging with Python 2.7.

Module rename with change preview: Developers can easily refactor their code using a new rename refactoring experience, via Pylance. In this release of renaming a Python file/module, Pylance will find all the instances that need to be updated and provide a preview of all the changes to be made. To customize the references to be updated, developers can toggle checkboxes at the line or file level at the preview stage before accepting the changes.

Rich Python editing experience: The Python extension offers syntax error detection and limited IntelliSense support when using virtual or untrusted workspaces via Pylance. Just like when using github.dev or vscode.dev, developers can now take advantage of a series of editing features that they might want while exploring a codebase virtually or inspecting the workspace locally while marking them trusted. These features include semantic highlighting, Syntax errors, code navigation, outline support, function signature help, contextual document highlighting and completions for built-ins, Pylance’s bundled stubs, locally defined symbols in the current file, and symbols in open files.

An update on debugging with Python 2.7: From January 2022, debugpy will no longer run-on Python 2.7. Following last September’s announcement on limited IntelliSense support for Python 2.7, this is the last release with support for debugging locally with Python 2.7. This change should impact only the local experience, and not remote debugging – attaching the debugger to remote processes running in Python 2.7 will still be supported.

Developers have to download the Python extension for Visual Studio Code to try out the above improvements from the Marketplace, or install it directly from the extension gallery in Visual Studio Code.

Share
Picture of Meeta Ramnani

Meeta Ramnani

Meeta’s interest lies in finding out real practical applications of technology. At AIM, she writes stories that question the new inventions and the need to develop them. She believes that technology has and will continue to change the world very fast and that it is no more ‘cool’ to be ‘old-school’. If people don’t update themselves with the technology, they will surely be left behind.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.