Karthik Nadig
kanadig.com
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/
Reposted by Karthik Nadig
VS Code: the open source AI editor. Starting today.
June 30, 2025 at 4:10 PM
Reposted by Karthik Nadig
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-...
May 19, 2025 at 4:10 PM
Another experimental feature in Python Environments extension. Activate/De-activate environment button for terminals. Set `python-envs.terminal.showActivateButton` to try it out.
January 23, 2025 at 3:14 AM
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 ` instead of `python `. 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
January 21, 2025 at 4:02 PM
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.
January 15, 2025 at 7:38 PM
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.
January 10, 2025 at 6:23 PM
One of the things I eagerly wait near the end of the year: Comedy Wildlife Photography Awards

I really liked the Mafia Boss.

www.comedywildlifephoto.com/gallery/come...
Comedy Wildlife Photography 2024 Competition Winner :: Comedy Wildlife Photography Awards - Conservation through Competition
www.comedywildlifephoto.com
December 23, 2024 at 6:05 PM
Reposted by Karthik Nadig
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.
December 20, 2024 at 11:17 PM
2024 Year in Code
December 19, 2024 at 6:09 PM
Reposted by Karthik Nadig
...and if you're using argparse, you'll want 3.14 because `suggest_on_error` is now an optional parser feature ✨

docs.python.org/3.14/library...
argparse — Parser for command-line options, arguments and subcommands
Source code: Lib/argparse.py Tutorial: This page contains the API reference information. For a more gentle introduction to Python command-line parsing, have a look at the argparse tutorial. The arg...
docs.python.org
December 17, 2024 at 6:20 PM
Reposted by Karthik Nadig
Announcing GitHub Copilot Free!

A new free tier for GitHub Copilot, available for everyone today in VS Code.

No trial. No subscription. No credit card required.

Learn more in our blog: aka.ms/copilot-free
December 18, 2024 at 6:28 PM
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
December 16, 2024 at 3:52 PM
Reposted by Karthik Nadig
Hello, World!
December 9, 2024 at 6:22 PM
Reposted by Karthik Nadig
Splitting a string once in #Python: .split() has maxsplit=, but .partition() can be better:
December 6, 2024 at 4:40 PM
Reposted by Karthik Nadig
We've always been a fan of blueskies.
December 6, 2024 at 1:44 AM
Reposted by Karthik Nadig
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!
December 2, 2024 at 3:07 PM
Reposted by Karthik Nadig
Are you using #Python 3.11 yet? It's been out for two years! Maybe this will entice you: better error messages!
November 26, 2024 at 6:33 PM
Reposted by Karthik Nadig
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
November 25, 2024 at 5:50 PM
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.
November 22, 2024 at 4:39 AM
Reposted by Karthik Nadig
String formatting in #Python lets you left-, right-, or center-justify a value. You can specify the fill character to use. The syntax is colon, fill-char, <^>, width:
November 21, 2024 at 11:12 AM
Reposted by Karthik Nadig
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 🤩
November 20, 2024 at 9:10 PM
I found this recently 🤦‍♂️. You can use "@modified" in settings UI to find and filter modified settings.
November 20, 2024 at 7:33 AM
Reposted by Karthik Nadig
Exploring VS Code compatibility with different
@pytest.org plugins this week- got a plugin which is failing? Add a comment 👇

github.com/microsoft/vs...

also thanks @brianokken.bsky.social for this top plugin list I'm using as a jumping point pythontest.com/top-pytest-p...
Top pytest Plugins
This is intended to find the most popular pytest plugins, as plugins usually have “pytest” in the name. The list is generated from hugovk’s Top PyPI Packages, which is filtered for “pytest”. Many popu...
pythontest.com
November 19, 2024 at 5:51 PM