Karthik Nadig's Avatar

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/

107
Followers
32
Following
17
Posts
18.11.2024
Joined
Posts Following

Latest posts by Karthik Nadig @kanadig.com

Video thumbnail

VS Code: the open source AI editor. Starting today.

30.06.2025 16:10 πŸ‘ 47 πŸ” 17 πŸ’¬ 3 πŸ“Œ 5
A thumbnail that reads "Your open source AI editor Powered by GitHub Copilot" with the VS Code logo and a blue gradient background

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

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-...

19.05.2025 16:10 πŸ‘ 123 πŸ” 54 πŸ’¬ 13 πŸ“Œ 12
Video thumbnail

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

23.01.2025 03:14 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
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...

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...

21.01.2025 16:02 πŸ‘ 6 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

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.

15.01.2025 19:38 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Screenshot of the Environment Managers view of the Python Environments extension, showing the Conda environments grouped by Prefix and Named environment groups.

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

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.

10.01.2025 18:23 πŸ‘ 6 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
Comedy Wildlife Photography 2024 Competition Winner :: Comedy Wildlife Photography Awards - Conservation through Competition

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...

23.12.2024 18:05 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
A screenshot of enable vehicle motion cues set to automatic. There are tiny dots on the sides of the screen

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

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.

20.12.2024 23:17 πŸ‘ 110 πŸ” 31 πŸ’¬ 11 πŸ“Œ 4
karthiknadig 2024 Year in Code. 1213 contributions in the last year,  Universal Rank top 2%, Longest Streak 35 days, Total Commits 1888, Most Active Month July, Most Active Day Tuesday, Stars Earned 5025, Top Language Python, Power Level Elite Class. Generated using https://git-wrapped.com/

karthiknadig 2024 Year in Code. 1213 contributions in the last year, Universal Rank top 2%, Longest Streak 35 days, Total Commits 1888, Most Active Month July, Most Active Day Tuesday, Stars Earned 5025, Top Language Python, Power Level Elite Class. Generated using https://git-wrapped.com/

2024 Year in Code

19.12.2024 18:09 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
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...

...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...

17.12.2024 18:20 πŸ‘ 9 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0
A thumbnail with a blue, black, and green gradient background, with the VS Code and GitHub Copilot logos in the foreground and a graphic of the Copilot Chat window hovering below.

A thumbnail with a blue, black, and green gradient background, with the VS Code and GitHub Copilot logos in the foreground and a graphic of the Copilot Chat window hovering below.

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

18.12.2024 18:28 πŸ‘ 365 πŸ” 139 πŸ’¬ 14 πŸ“Œ 54

`uv` is used for create environment , install, uninstall, if we can find it on PATH. There is also some support for `uv init`.

17.12.2024 02:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
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...

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...

16.12.2024 15:52 πŸ‘ 15 πŸ” 3 πŸ’¬ 1 πŸ“Œ 0

Interstella 5555 is wild. Music runs the universe.

14.12.2024 03:13 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Level Clear! - (Official Music Video)
Level Clear! - (Official Music Video) YouTube video by tom C

I really like this one by Tom Cardy: m.youtube.com/watch?v=G87p...

10.12.2024 07:29 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Hello, World!

09.12.2024 18:23 πŸ‘ 584 πŸ” 160 πŸ’¬ 44 πŸ“Œ 19
Preview
2024 Python in VS Code Wrapped - Python As the year comes to a close, we would like to take time to reflect and celebrate the incredible progress the Python extension for VS Code has made this year. From merging in top requested features to...

Python in VS Code Wrapped!!!

devblogs.microsoft.com/python/2024-...

09.12.2024 18:00 πŸ‘ 7 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Demonstrating how to split a string just once with .split(maxsplit=), and with .partition().  Full text at https://gist.github.com/nedbat/93ff430f32231361ad0910433cc2c430

Demonstrating how to split a string just once with .split(maxsplit=), and with .partition(). Full text at https://gist.github.com/nedbat/93ff430f32231361ad0910433cc2c430

Splitting a string once in #Python: .split() has maxsplit=, but .partition() can be better:

06.12.2024 16:40 πŸ‘ 63 πŸ” 9 πŸ’¬ 2 πŸ“Œ 2
Originally the default wallpaper of Microsoft's Windows XP, this photo shows green rolling hills with a vibrant blue sky and white clouds in the background. Charles O'Rear took the photo in California, USA.

Originally the default wallpaper of Microsoft's Windows XP, this photo shows green rolling hills with a vibrant blue sky and white clouds in the background. Charles O'Rear took the photo in California, USA.

We've always been a fan of blueskies.

04.04.1975 12:00 πŸ‘ 11823 πŸ” 2101 πŸ’¬ 672 πŸ“Œ 654

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!

02.12.2024 15:07 πŸ‘ 162 πŸ” 14 πŸ’¬ 4 πŸ“Œ 1
Showing 3.10 and 3.11 with the same error.  3.11 pinpoints the problem.  Full text at https://gist.github.com/3a186827ac8bdfa08f34d36b9fce48dc

Showing 3.10 and 3.11 with the same error. 3.11 pinpoints the problem. Full text at https://gist.github.com/3a186827ac8bdfa08f34d36b9fce48dc

Are you using #Python 3.11 yet? It's been out for two years! Maybe this will entice you: better error messages!

26.11.2024 18:33 πŸ‘ 72 πŸ” 12 πŸ’¬ 3 πŸ“Œ 0
Preview
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...

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.

25.11.2024 17:49 πŸ‘ 55 πŸ” 12 πŸ’¬ 8 πŸ“Œ 1

These might be helpful to you:
www.dumpanalysis.org/windows-memo...

github.com/anhkgg/aweso...

25.11.2024 06:28 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

After it breaks try `ld` (load symbols) followed by `!analyze -v`. If it is an expected exception that is typically handled, try `gH` (continue handled), gN (continue with unhandled exception). See if that gets you to the point where you need to be.

25.11.2024 05:47 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Internally there are several extensions to `windbg` that can significantly improve error reporting. I had created one for COM debugging. Just that it might be a bit hard to find, and you may have to compile some from source.

25.11.2024 05:32 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Showing "Extensions: Open Extensions Folder" command in the command palette.

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

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.

22.11.2024 04:38 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I do the exact same thing. Forward from my domains to my Gmail.

22.11.2024 01:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Demonstrating string formatting with right-, left-, and center-aligned text and custom fill characters.  Full text at https://gist.github.com/nedbat/9a29a7e0f8091844d65f5ca433612e59

Demonstrating string formatting with right-, left-, and center-aligned text and custom fill characters. Full text at https://gist.github.com/nedbat/9a29a7e0f8091844d65f5ca433612e59

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:

21.11.2024 11:12 πŸ‘ 119 πŸ” 12 πŸ’¬ 6 πŸ“Œ 3
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.

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.

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 🀩

20.11.2024 21:10 πŸ‘ 15 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
Use @modifled in VS Code Settings UI to find and filter modified settings.

Use @modifled in VS Code Settings UI to find and filter modified settings.

I found this recently πŸ€¦β€β™‚οΈ. You can use "@modified" in settings UI to find and filter modified settings.

20.11.2024 07:33 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0