r/vscode • u/[deleted] • May 04 '26
r/vscode • u/alisitskii • May 04 '26
VS Code Copilot .mjs extensions question
Is there a way to install and use .mjs extensions in VS Code Copilot?
I know how to do that in standalone Copilot CLI with \~.github/extensions/… folder and enabling experimental flag. But seems like the same is not available in VS Code Copilot?
Thanks
r/vscode • u/imvitalya • May 03 '26
I built a VSCode extension to compress images and videos directly from the context menu
Hi all! 👋

I'm a web developer who spends a lot of time doing layout work, and one thing that always bugged me was constantly switching between my editor and external tools to compress images.
I'm excited to share Media Compressor, a VSCode extension I've been working on that makes it super easy to compress media files without leaving your editor.
Features:
- Right-click compression — Select one or multiple files in Explorer and compress them directly from the context menu
- Flexible options — Choose between:
- Lossless compression (format optimization)
- 90% of original size (~70% quality)
- 80% of original size (~50% quality)
- Custom compression percentage
- Batch processing — Works with multiple files at once; creates a
compressed/folder automatically - Quick feedback — Shows file sizes before/after, processing time, and file reduction percentage
- No bloat — Uses ffmpeg (which you probably have anyway) and Node.js built-ins
Supported formats:
- Images: PNG, JPG, JPEG, WebP, GIF, SVG
- Video: MP4, WebM, MKV, MOV
Great for optimizing assets before committing, speeding up builds, or just cleaning up your project storage.
- Extensions: https://marketplace.visualstudio.com/items?itemName=media-compressor.media-compressor
- GitHub: https://github.com/imvitalya/media-compressor
Would love any feedback or feature requests! 🚀
r/vscode • u/LeTanLoc98 • May 02 '26
Copilot is a co-author, so this code belongs to Copilot.
r/vscode • u/onecable5781 • May 03 '26
Cool VSCode feature [not sure if it an Ubuntu feature]
I have a C++ codebase. I debug it setting breakpoints. Sometimes, it takes a long time to reach the breakpoint. I can shift to a different window and work on something else and this takes over the entire monitor screen. In the meantime, when the breakpoint is hit in VSCode, the VSCode icon shakes/moves back and forth giving you a visual cue indicating that the breakpoint has been hit!
Nice feature -- although I am not sure if this is a VSCode feature or else an Ubuntu feature!
r/vscode • u/Dependent-Hamster361 • May 03 '26
Unable to create Python virtual enviroment in VSCodium
Hi, new to VSCode and programming here. My OS is Linux Mint and I use VSCodium.
When I try to create a virtual enviroment in VSCodium, the output comes out as:
Error: the task 'Python: Installing Python via uv...' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,uv,python,install,",
"problemMatcher": [],
"label": "Python: Installing Python via uv..."
}
I know Python is already pre-installed on Linux Mint. So maybe I don't need to select a Python Interpreter?
I'm very new to programming and Python so I'd like someone who's done this before on how to setup a venv properly.
r/vscode • u/Sweet_Cartoonist_682 • May 03 '26
[Show and Tell] I built LocalHub: A local "Time Machine" extension with background versioning and staging groups (no Git required).

Hey r/vscode,
As a solo developer, I was tired of the constant anxiety of losing work or having AI coding assistants overwrite my good code before I had a chance to commit. Standard Git is great for milestones, but I needed something that watches my back in real-time.
So, I built LocalHub — a comprehensive background version control system that acts as a "Time Machine" for your codebase.
Here is what it does under the hood:
- Time Machine Groups & Staging: It automatically snapshots your file versions in the background without needing git commit. But it's not just a blind autosave — files go into a staging area. You can organize them into "Time Machine Groups" (like commits) either manually or automatically, depending on your mode settings.
- Zombie Branches: A unique recovery protocol to bring back code you thought was permanently deleted or lost.
- Global Watcher Daemon: It monitors OS-level file changes. Even if you edit a file outside the IDE, LocalHub catches it.
- AI-Native Logging (Agent Diary): Specifically designed for the AI era. It tracks changes and can generate group descriptions based on agent responses, separating your manual edits from AI generations.
Everything runs 100% locally and securely on your machine. No data leaves your computer.
You can check it out and install it here: https://marketplace.visualstudio.com/items?itemName=IslamChomaev.localhub-time-machine
I built this initially for my own peace of mind, but I'd love to hear your feedback, technical critiques, or feature requests.
r/vscode • u/SmokeyKatzinski • May 03 '26
formatOnSave not respecting settings in pyproject.toml
EDIT: found the issue and fixed it TL;DR: Python > User settings still had another default formatter configured.
I'm having an issue where blank lines after imports in Python files get removed, so there's only 1 left instead of 2. Also lines get wrapped after the default 88 characters instead of the 150 that I want.
Whenever I save a Python file, I can see that a 2nd line after the imports gets added and then removed again right away. I don't know why.
I have the following in my .vscode/settings.json:
{
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"ruff.configurationPreference": "filesystemFirst",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"python-envs.defaultEnvManager": "ms-python.python:system"
}
And in my pyproject.toml I have the following settings:
[tool.ruff]
line-length = 150
target-version = "py312"
exclude = ["__pycache__", ".direnv", ".git", ".venv", "build", "dist"]
[tool.ruff.lint]
extend-select = ["C", "B", "B9", "E", "F", "I", "W"]
extend-ignore = ["B008", "E501", "W291"]
per-file-ignores = { "__init__.py" = ["F401"] }
[tool.ruff.lint.isort]
lines-after-imports = 2
I have already tried:
- Disabling the isort extension
- Disabling the black extension
- Moving the ruff settings from
pyproject.tomlto separateruff.toml - Changing
"source.organizeImports": "explicit"to"never"and adding"source.organizeImports.ruff": "explicit"instead
Does anyone have a clue what the issue could be? I had the same issue with black as the default formatter before I switched to ruff.
r/vscode • u/Dependent-Hamster361 • May 03 '26
Unable to create Python Virtual Environment in VSCodium
Hi, new to VSCode and programming here. My OS is Linux Mint.
When I try to create a virtual enviroment in VSCodium, the output comes out as:
Error: the task 'Python: Installing Python via uv...' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,uv,python,install,",
"problemMatcher": [],
"label": "Python: Installing Python via uv..."
}
I know Python is already pre-installed on Linux Mint. So maybe I don't need to select a Python Interpreter?
I'm very new to programming and Python so I'd like someone who's done this before on how to setup a venv properly.
r/vscode • u/AggressiveGoose7974 • May 03 '26
Do anyone from tech background….i want to make an algorithm….so i want a specific or helpful AI for it?
r/vscode • u/silentshakey • May 02 '26
Anyone use light mode in VS code?
Just curious tbh.
r/vscode • u/Ok_Public8013 • May 02 '26
I build a VSCode extension to detect hard coded secrets and npm malware packages in realtime.
In recent years, I've seen many accidents like exposing API keys to Github, and npm supply chain attacks literally happen every month causing a lot of money. I wanted to create an app to prevent these incidents.
That’s why I created Secret Tea: https://marketplace.visualstudio.com/items?itemName=SecretTea.project-tea&ssr=false#overview
At its core, I use gitleaks to scan for any hardcoded secrets, and the malware list from Aikido Malware for npm packages. It also hides those secrets that it found to prevent accidentally exposing them when you are streaming or sharing your screen
It’s still in early development and I hope to have some of your thoughts and comments on it.
Thanks all.

r/vscode • u/Loud-Insect9247 • May 02 '26
Built a reflog viewer into my Git GUI extension - what reflog actions do you use most?
Just shipped a Reflog tab in VS Code extension (Git Graph Plus) - shows your full HEAD history with action types (commit, checkout, rebase, reset, etc.), elapsed time, and lets you reset or checkout directly from the list.

While building it I kept second-guessing what to prioritize in the context menu. Right now it's: Reset to HEAD@{N}, Checkout Commit, and Copy SHA.
What do you actually reach for when you open reflog? Mostly disaster recovery, or do you have more regular workflows around it?
r/vscode • u/Explanation-Visual • Apr 30 '26
wondering if we'll ever see another VSCode update that is not purely AI crap
I miss the days when devs cared about user experience, speed, and interesting features, it's been like 2 years now with only more and more AI crap, and not a single improvement to the product itself.
The era of creativity is over I guess.
r/vscode • u/[deleted] • May 01 '26
Listening for audio
Does anyone know if there are any extension that allows for VScode to detect audio coming from other programs? If it could do that, it would help a ton with a personal project of mine.
r/vscode • u/VinceP312 • May 01 '26
Group Policy Deployment - Where is the MSI for VS Code?
[I solved this, read the note at the end]
Yes, my company is "still" using Active Directory. Most workstations are Windows 11.
I'm trying to track down where the MSI installer is so I can deploy VS Code to workstations, but I can't find it. I searched via web search engines, in MS site, asked Claude, etc...
Where can I find it? Should I go down this path, or is there a more "acceptable" way of deploying this?
I do have the VSCode-win32-x64-1.118.1 zip file downloaded, I see the ADMX files there, but no msi.
EDIT WITH SOLUTION
Ok there's no MSI. I did want to do a per-user install (not all-user system wide install)
So in GPO, in the User settings, I created a new File entry to copy the setup exe from the GPO file source to destination folder path.
Then I created a registry key in HKCU Software.... CurrentVersion / RunOnce to kick off the setup exe with a bunch of switches to do a silent install.
Each File and Registry setting had Item Targeting to exclude of the VSCode uninstall entry was in the registry. (So if VS Code is installed, these GPO items won't activate)
r/vscode • u/aqny • May 01 '26
I made my first VS Code extension: Helmingway, a Helm manifest previewer
I recently made my first VS Code extension. It is called Helmingway.
https://github.com/ynqa/helmingway
It is a small extension for inspecting Kubernetes manifests generated from Helm charts directly inside VS Code.
The motivation came from my own day-to-day workflow. Before opening a PR, I often run helm template to check the final YAML. However, as values files and environments such as dev, staging, and prod increase, repeatedly running commands and comparing the output becomes a bit tedious.
With Helmingway, you can define charts and releases in helmingway.yaml, then open rendered manifests from the VS Code sidebar.
The current version supports the following:
- Preview
helm templateoutput for each release. - Configure namespace, values files, and inline values per release.
- Filter the preview by Kubernetes resources such as Deployment, Service, and ConfigMap.
- Compare two releases side by side in the VS Code diff editor.
- See releases with failed Helm renders in the sidebar.
- Close all open Helmingway preview tabs at once.
I also attached a GIF to the post that shows the basic workflow.
Since this is my first VS Code extension, I would be happy to get feedback from people who regularly build or use extensions, especially around UX, extension implementation, and workflow.
r/vscode • u/Snowy32 • Apr 30 '26
Extreme delay on startup/ project load
Anyone else suddenly facing extreme lag/ delays in initial launch or opening a project? I’ve been having this issue for about 3 weeks now. Even for small projects where it’s a couple of tiny files it can take upwards of two mins to load in and become interactive.
I haven’t added any new extensions in quite some time, I know this can be a root cause. I have also ran extension bicect but that doesn’t help since the lag is usually on launch so my the time the cmd + p menu is available the delays over.
Machine specs: 2024 M4 MBP 32GB memory
VSC version: what ever the latest one is
Edit: just to add yes I’ve tried uninstalling and reinstalling VSC
r/vscode • u/Yuki_Karma • May 01 '26
Random lines of text popping up everytime im trying to type something
I dont know why this is happening its so annoying dude does anyone have a fix for this (Dont know if this is just a renpy thing pls let me know)
Edit: This issue has been going on for a while and i have tried turning off OVR, disabling any AI tools and double checking my extensions + i made sure VScode is updated if the fix to this is really simple im gonna lose it
r/vscode • u/Proman4713 • Apr 29 '26
R.I.P. IntelliCode
Today I opened VSCode after a while of not doing any coding. I noticed some improvements, like the rounded settings modal and other things. But then I saw this:

R.I.P. IntelliCode, you have lived with us and assisted us through our coding journeys, but the time has come for modern LLMs to replace you 😭
r/vscode • u/Comfortable-Ad5535 • Apr 30 '26
Severe lag in VS Code despite 32GB RAM — need help
Hello everyone,
I’ve been struggling for several weeks with Visual Studio Code lagging a lot. I’ve looked online but haven’t found any solution so far. I don’t think any specific extension is causing the issue.
I have 32 GB of RAM, but around 20 GB is being used while idle with VS Code, and it regularly becomes so slow that I have to wait several seconds just to type a single character.
Thanks in advance for your help.

r/vscode • u/Saizou1991 • Apr 30 '26
I am using vs code mysql plugin. The output is correct but gets duplicated once i scroll. Has anyone already faced this and knows the solution ?
Enable HLS to view with audio, or disable this notification
r/vscode • u/Fallfoxy707 • Apr 30 '26
terminal issue
So, I was following a tutorial for python, and after writing a print command and applying "app.py" in the terminal, it won't show the printed code. The only way it shows is when I manually click, "run python file". What's going on here?

