Karthik Nadig

@kanadig.com

Building Python extension and tools for VS Code. Developer Manager at Microsoft https://github.com/karthiknadig https://linkedin.com/in/karthiknadig/

Today, we're announcing plans to make VS Code an open source AI editor. We believe AI development should stay true to VS Code's core principles: open, collaborative, and community-driven. Let's build the future of software development together. aka.ms/open-source-...

A thumbnail that reads "Your open source AI editor Powered by GitHub Copilot" with the VS Code logo and a blue gradient background

Another experimental feature in Python Environments extension. Activate/De-activate environment button for terminals. Set `python-envs.terminal.showActivateButton` to try it out.

In the latest pre-release of Python Debugger extension, we added a feature that we call no-config debugging. Open a terminal is VS Code and run your script with `debugpy <myscript>` instead of `python <myscript>`. Try it out. github.com/microsoft/vs...

No-config debugging · Issue #561 · microsoft/vscode-python-debugger

Hey folks 👋 After listening to community feedback that configuring the debugger can be difficult and confusing, we have begun working on a no-config debugging experience! We are excited to say that...

github.com

In the latest pre-release of the Python Environments extension, you can select the library you want to install and click the edit button to set version constraints. You can do this with multiple libraries and include libs not in the list.

In the latest pre-release of Python Environments extension, we added an API to set "groups" on the environment managers list. Making it easier for environment manager extensions to deal with displaying large lists of environments.

Screenshot of the Environment Managers view of the Python Environments extension, showing the Conda environments grouped by Prefix and Named environment groups.

Pro tip: if you are prone to motion sickness and own an iPhone, go into accessibility settings and enable vehicle motion cues. It’ll add dots to the sides of your screen when it detects you’re in a car. Usually if I’m on my phone in the car, I’ll feel motion sick but this actually worked for me.

A screenshot of enable vehicle motion cues set to automatic. There are tiny dots on the sides of the screen

One of the things we (Python in VS Code) released this month is a preview extension that helps you manage your python environments. It includes an extension API to build your own extension to support your favorite environment manager. Check it out! devblogs.microsoft.com/python/pytho...

Python in Visual Studio Code - December 2024 Release - Python

The December 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a special review of docstring generation features from Pylance, th...

devblogs.microsoft.com

Got an email, "Thank you for coverage․py." I immediately thought, "they're going to want something, or complain about something." Nope! It was all positive. Ended with "Thanks again for this awesome Python contribution!" If you like what someone has done, tell them!

Please do not put your #Python code _inside_ of your virtual environments. Consider virtual environments: - Disposable - Not relocatable - Contents managed by Python and package installers See the bullet point list at docs.python.org/3/library/ve... if you need official docs backing this up.

venv — Creation of virtual environments

Source code: Lib/venv/ The venv module supports creating lightweight “virtual environments”, each with their own independent set of Python packages installed in their site directories. A virtual en...

docs.python.org

Ever wonder where VS Code extensions live? Stable, Insiders, or server, each has its own spot. There's a handy shortcut to save the guesswork: just run Extensions: Open Extensions Folder from the command palette.

Showing "Extensions: Open Extensions Folder" command in the command palette.

Starting with this one... Highlighting our favourite underrated feature in VS Code, our Python debugger's "Jump to Cursor": hit a breakpoint, right-click on a previously executed line, and continue execution from there 🤩

Debugger running in VS Code on Python code, stopped at a break point. Right clicking on a previously executed line, selecting "Jump to Cursor" and selecting "step over" to re-execute that line.