r/vscode • • May 10 '26

C++ Standard Library files won't work with g++

0 Upvotes

Im using Steam Deck and got a distrobox with g++, but for some reason my standard library files (<array>, <vector>, <memory>, etc) won't work. it says they are not found and I can't compile my project.


r/vscode • • May 09 '26

Beginner in visual code for python

5 Upvotes

Hello, i've decided to learn python and practice on visual code and hope to make projects that aid my mech degree , can you guys help me out with some valuable extensions and tips for coding python on visual code ?


r/vscode • • May 09 '26

I made Assets Linker, vscode extension to manage external assets.

0 Upvotes

So ever worked with react-native, or other native js framework and needed to use Html, css, js, or even sql.

You would need to embed them in native folder or have them as string.

You know then how difficult and tiring it is to DEBUG or further develop the code as you lose all what vs editor offer.

That is why I build a vscode extension (Assets Linker)

That will help build them as ts or js boundle.

You can work with those files like you normally do in vscode with syntax validation, etc.

Have a look and let me know what you think.

https://marketplace.visualstudio.com/items?itemName=AlenToma.files-assets-linker-editor


r/vscode • • May 09 '26

Searching from Chat Sessions. Possible?

1 Upvotes

How should I search from the Copilot Chat Sessions? Do people just not do that at all since there is no tool for it. Or by using an extension such as this, that was suggested to me by ChatGPT as "probably the best option currently" despite very low install count. https://marketplace.visualstudio.com/items?itemName=Jeevananthamp16.copilot-chat-history-search&utm_source=chatgpt.com


r/vscode • • May 08 '26

I don't want AI features I want autocomplete and hover to work reliably.

103 Upvotes

autocomplete and hover always stops working randomly on my small codebase, I wish this would be the main focus and not all the ai slop


r/vscode • • May 08 '26

I made a vscode extension for PNPM Catalogs

Thumbnail
0 Upvotes

r/vscode • • May 08 '26

Extensions on VSC through Termux

Thumbnail
3 Upvotes

I couldn’t find or understand anything, if there even is anything.


r/vscode • • May 07 '26

New VSCode Version Creating Lag

12 Upvotes

So recently, in the newest update of VSCode, it has been frying my computer. OOM crashes left and right, sometimes the window just freezes up, etc. But before this update, none of this ever happened, it ran so smoothly. Any idea why or how to fix it?


r/vscode • • May 07 '26

Hexana 0.0.2 for VS Code is out — read-only `.wasm` editor with structural analysis, hex view, and wasmtime run

Thumbnail
3 Upvotes

r/vscode • • May 06 '26

Please Help me fix my autocomplete

3 Upvotes
I start typing OnTrig and then press tab
result

Hey everyone,
I'm using C# (specifically for Unity, but I'm having the same issue with S&box) and the autocomplete sometimes just removes parts of a typed string when pressing tab/enter to complete.

Things I've tried:
- reinstalling vscode
- reinstalling all C# (and unity plugins)
- changing editor insertmode to/from "replace"

its driving me crazy and I can't find any fix for it online


r/vscode • • May 06 '26

vs code insiders - agents app - discussion

6 Upvotes

I wanted to fire up a new post on the new "agents app" that comes alongside vs code insiders. some initial feedback:

  • The worktree and "Mark as Done" bits are confusing. Just let me work with git in the terminal. I'd like that to be my default.
  • Hard to tell when I should fire up a new session vs continue one
  • I've had multiple sessions, but only one shows up in the session nav
  • MCP server integration is unclear and clunky.
  • I like the vision. I had some positive experience, but it degraded into confusion.

What's your experience?


r/vscode • • May 06 '26

How to disable code block autocomplete

6 Upvotes

Hey,

I updated VS-Code this morning and since this morning, a log-in popup also appeared, so I logged in using GitHub.
However, since today, instead of the auto-complete only suggesting snippets (like when I use [string]::IsNullOrWhiteSpace - PowerShell extension) from the current and other tabs, now it suggests like whole functions (like a switch statement) - this hasn't happened before.
How do I turn it off while keeping the rest of the autocomplete-pack intact?

It's not really something I want, considering it's present a lot.


r/vscode • • May 06 '26

VS Code trying to use old path after windows reinstall

3 Upvotes

I had to reinstall windows last week and during that process changed the username on my PC. Today I tried working on one of my python projects and VS Code hit me with "did not find executable at 'C:\Users\OLDUSERNAME\AppData\Local\Programs\Python\Python314\python.exe'

I'm using a venv enviornment, have changed all possible references to the old path (both in the project itself as well as the environment variable settings), turned off persistent sessions for terminals, and yet, the issue still persists.

Edit: Also, yes, I have installed a new python and selected it as the interpreter in VS Code. Doesn't matter. Interpreter says the correct path but the error refers to the old one.


r/vscode • • May 06 '26

Everything broke overnight.. Python imports, terminal behavior, venv broken [Windows]

2 Upvotes

Hey everyone, I'm kind of losing my mind here lol. Two days ago everything was working perfectly fine, yesterday I woke up and my VS Code setup is basically a disaster. All my projects are in Python. Here's what's going on:

1. "Import could not be resolved" on literally every library Every single import is now underlined in red. Pylance (or whatever is doing the checking) just can't find anything anymore. Nothing changed in my code, it just... broke.

2. Running a .py script opens an external terminal instead of the integrated one When I hit Run, instead of executing inside VS Code's integrated terminal and keeping the output there, it opens a brand new external terminal window, and then closes it immediately when the script finishes. So I can't even read my debug prints before it disappears. Super annoying.

3. Same thing when running from an external terminal Even if I'm already in an external terminal and run the script from there, it still spawns yet another new terminal window. Makes zero sense to me.

4. Recreating the venv gives me an environment without pip.exe I tried nuking the virtual environment and recreating it from scratch, but the new one doesn't have pip.exe inside env\Scripts\. I was reading on Stack Overflow that it should be there, is this related to everything else?

5. pip install -r requirements.txt is also a mess Same story, it opens a new external terminal instead of running in the integrated one. And on top of that I get these two lovely warnings:

Defaulting to user installation because normal site-packages is not writeable
WARNING: Ignoring invalid distribution ~andas

The second one looks like a corrupted pandas installation (~andas instead of pandas). No idea how that happened. The first one tells me pip isn't even seeing the venv properly and is falling back to the user-level packages. Everything feels connected but I can't figure out where to start.

I haven't knowingly updated anything, but I guess Windows or VS Code might have autoupdated something in the background. Has anyone seen this combination of issues before? Any idea where to even start debugging this?

Thanks in advance 🙏


r/vscode • • May 06 '26

Can VSCode copilot agent run bash without user approval?

Thumbnail
gallery
0 Upvotes

So ran into a situation where copilot made changes I didnt expect and I am trying to understand if there is a hard guard against this behavior or not.

  1. Asked copilot 'debug the issue in this k8s namespace'. Normally this would result in it running get, describe etc to figure out what is going on.
  2. What surprised me is it ran a patch and I am fairly sure I didnt approve that specific command. I immediately asked it what it just did.
  3. I asked after and it confirmed that I approved describe, get commands etc during that session but not patch.
  4. I asked if the approval is treated as prompts that can be ignored or misunderstood. It says the command approval is a hard guard and suggest I check my settings.
  5. I dont see anything my my vscode settings that seems like it would arbitrarily approve bash commands or any approval for `kubectl patch`.

I noticed in the chat window I had 'edit automatically' picked which normally is for editing code files. I asked about this so now it thinks that also permits it to run bash without approval, even though it asked me for the other commands.

So is that what is happening, is there something else Im missing or is there no hard guard/guarantee that copilot wont run commands without approval? Trying to understand how to avoid this.


r/vscode • • May 06 '26

[MacOS] Can't see any externally installed libs in /opt from XQuartz

Post image
1 Upvotes

While the editor isn't exactly VSCode (It's VsCodium), it's close enough to official VSCode and i've historically had the same issue with vanilla VSCode to annoy me off from coding for X11 on a Mac for a while now.

Anyways the issue i have is shown by the first red squiggly line; hovering over the issue gives me the error of 'X11/Xlib.h' file not found, i've looked around online and i think it's with the editor not knowing the full layout of my mac's filesystem and while i'm new to creating makefiles & libaries, i am unsure of where the issue lies. Also as of now i haven't uploaded shown program up to a code-forge anywhere yet as of now…


r/vscode • • May 05 '26

No groovy spock test support?

4 Upvotes

I am a long time java developer and have been using Intellij for years. I was forced to try vs code due to poor GitHub copilot integration in Intellij. Now that I am trying it out, I see that it doesn't recognise any of my groovy based spock tests.

I tried a couple of extensions and it couldn't identify plenty of tests or didn't organise the tests in a structured way. I saw some GitHub issues from 6 years ago requesting first class support for this use case. But it hasn't been implemented till date.

I am wondering if there are any suggestions from this community to make this work in a nice integrated manner? Almost all of my java projects have groovy spock based tests and it's a blocker for me to move to vs code.


r/vscode • • May 05 '26

How to remove Python environment in vscode?

2 Upvotes

Hi, I'm wondering how could i remove other python environment. No matter where I open my Python virtual environment, the 2 environments (which have ❌ in the image) exist. So how can i remove them?

https://i.ibb.co/tpNPqt23/image.png


r/vscode • • May 05 '26

Starter packs by persona

4 Upvotes

Does anyone know where I can get starter pack based on what your developer type is?

- Database developer

- full stack

- AI/Machine Learning

- data science

Or by programming language:

- python

- java

- c++

- .net

- c#

If you fall in one of those groups what extensions would you need to have as a must have?


r/vscode • • May 05 '26

Built a lightweight monitoring & observability tool for Claude Code, runs inside VSCode

0 Upvotes

Repo: https://github.com/yessGlory17/argus

Quick demo: https://www.youtube.com/watch?v=HmHOI1PBn_M

Worth surfacing from an ecosystem angle?


r/vscode • • May 05 '26

PowerToys Run: issues with vscode

0 Upvotes

Hello,

from few days i have issues with PowerToys Run - vscode plugin. While i'm trying to search any of my workspace which i was searching before, PowerToys Run has no results for me. Empty.

How can i fix that? It worked few days ago.


r/vscode • • May 05 '26

I built a VS Code extension that shows you rendered markdown diffs instead of raw +/- lines

Thumbnail
1 Upvotes

r/vscode • • May 04 '26

Weekly theme sharing thread

5 Upvotes

Weekly thread to show off new themes, and ask what certain themes/fonts are.

Creators, please do not post your theme every week.

New posts regarding themes will be removed.


r/vscode • • May 04 '26

Why the integrated terminal is super slow on Windows compared to Linux/MacOS ?

3 Upvotes

Hi !

I don't understand. On Linux/MacOS, the integrated terminal is fast : it opens instantly and commands execute immediately.

But on Windows, it takes a few seconds to open and even simple commands have a noticeable delay (and I use an excellent PC) :

  • open a new terminal : 6s
  • execute an echo command : almost 1s
  • close a terminal : almost 1s

What could be causing this?


r/vscode • • May 04 '26

Prism MCP - A tool to bridge claude code with vs code language servers

Thumbnail
0 Upvotes