VS Code: the open source AI editor. Starting today.
VS Code: the open source AI editor. Starting today.
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-...
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...
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.
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.
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...
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.
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
...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...
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
`uv` is used for create environment , install, uninstall, if we can find it on PATH. There is also some support for `uv init`.
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...
Interstella 5555 is wild. Music runs the universe.
I really like this one by Tom Cardy: m.youtube.com/watch?v=G87p...
Hello, World!
Python in VS Code Wrapped!!!
devblogs.microsoft.com/python/2024-...
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:
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.
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!
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!
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.
These might be helpful to you:
www.dumpanalysis.org/windows-memo...
github.com/anhkgg/aweso...
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.
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.
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.
I do the exact same thing. Forward from my domains to my Gmail.
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:
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 π€©
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.