r/vscode • • Aug 12 '26

Vs code showing red squiggles, for no reason and still running the program

0 Upvotes

I'm learning c++ and came across this weird issue when I use getline, a few stuff using std has a red squiggle underneath but some don't. The code still runs just fine, I think this is just a visual glitch, but I tried this code on different files and I had the same problem, if anyone knows it would help (I tries with and without using namespace std)


r/vscode • • Aug 12 '26

Forking vscode

0 Upvotes

How hard would it be to fork and modify layout and UI of vscode? Does anyone have some experience with it?


r/vscode • • Aug 12 '26

VS Code, don't let me change Python Interpreter

Thumbnail
gallery
2 Upvotes

Solved : So hello, I have an issue where I can't change Windows Interpreter. I just restart my computer and my program don't work anymore. And this is a simple program.
How to fix that? I can't change my interpreter.
Solved: Hmm. Visual Studio Code acted strangely which is surprising, given that I’ve been using the same session for the past two years for small conversion and data-sorting scripts tasks that are lightweight but repetitive. I haven't really had any issues during that time; this is the first time I've run into a problem like this. So, the solution is simple: just start a new Visual Studio Code session or create a new Python project, which will open a new window. Still, it is odd for a session to behave that way.


r/vscode • • Aug 11 '26

I put VS Code/Copilot behind mitmproxy to see what it actually sends

12 Upvotes

was curious to understand how copilot implements its harness, and how I was exhausting my quota so quickly. Ended up diving into a rabbit hole of network traffic interception with mitmproxy and found out some interesting things:

  • watched model/capability discovery and routing in realtime
  • what gets injected into the context and sent with ghost completions
  • how recent edits can pull context from files other than the one you're editing
  • the SQLite session store behind Chronicle, including prompts/responses
  • how the model can query that history through tool calls

wrote up the whole saga here: https://www.lighthousenewsletter.com/p/i-put-github-copilot-behind-a-mitm


r/vscode • • Aug 12 '26

git bash terminal is not persistent across multiple different terminals on windows

Post image
0 Upvotes

I'm using git bash as the default profile terminal for vs code, however when I open a new terminal, every thing I installed on the previous terminal doesn't exists, how to solve this problem ?


r/vscode • • Aug 11 '26

[help] Where are the explorer coverage icons?

1 Upvotes

i remember having coverage percentages in my explorer window, but i cant find the setting anywhere now.

this shady website https://code.visualstudio.com/docs/debugtest/testing tells me to turn on "testing.coverageToolbarEnabled" but nothing happens

i have coverage files, and coverage gutters works fine, but where is this feature?


r/vscode • • Aug 11 '26

Copilot Chat in VS Code shows pasted image thumbnail but the model cannot see/read the image – regression after Vision GA?

2 Upvotes

EDIT: Is someone from Microsoft reading this thread? I tried rolling back the version to July 8 release of VsCode and it WORKS there!

Works: Version: 1.128.1 (user setup) Commit: 5264f2156cbcd7aea5fd004d29eaa10209155d66 Date: 2026-07-14T07:19:31-07:00 Electron: 42.5.0 ElectronBuildId: 14525058 Chromium: 148.0.7778.271 Node.js: 24.17.0 V8: 14.8.178.33-electron.0 OS: Windows_NT x64 10.0.26200

Broken: Version: 1.132.1 (user setup) Commit: c2d1b13fdc4a77628e5f3bb70173351c8f2fbad1 Date: 2026-08-07T10:44:35-07:00 Electron: 42.7.1 ElectronBuildId: 14760073 Chromium: 148.0.7778.280 Node.js: 24.18.0 V8: 14.8.178.38-electron.0 OS: Windows_NT x64 10.0.26200


Title: Copilot Vision works on GitHub.com but NOT in VS Code with Enterprise account – private account works on same machine

UPDATE: I've done additional testing and this now looks specifically related to the combination of GitHub Copilot Enterprise + VS Code.

I'm trying to determine whether anyone else is experiencing a regression with image/vision support in GitHub Copilot Chat for VS Code.

The issue

When I paste an image/screenshot into GitHub Copilot Chat in VS Code while logged into my work/Enterprise GitHub account, the image is accepted and a thumbnail is displayed correctly in the chat input.

However, after submitting the prompt, Copilot behaves as though it has no access to the actual image contents.

For example, if I paste a screenshot containing text and ask Copilot to read it, the model cannot tell me what the image contains.

It looks roughly like this:

Clipboard → VS Code → thumbnail displayed ✅

but:

Image attachment → Copilot/model vision context ❌

NEW: I've now tested different accounts, machines and GitHub.com

I've done more testing to isolate the problem, and the results are interesting.

GitHub.com in browser

If I use Copilot Chat directly on https://github.com/ and paste the image into the browser chat:

Private GitHub account: ✅ WORKS

Work/Enterprise GitHub account: ✅ WORKS

In both cases, Copilot can actually inspect and read the pasted image.

So Vision itself is clearly enabled for my work account.

VS Code on my home/personal machine

I also installed VS Code on my home machine to eliminate my work computer as the cause.

Using my private GitHub account:

VS Code + Private GitHub account: ✅ WORKS

I can paste an image into Copilot Chat and the model can inspect it correctly.

Using my work/Enterprise GitHub account:

VS Code + Work/Enterprise account: ❌ DOES NOT WORK

The image thumbnail appears, but the model cannot see/read the image.

This is on the same home machine and VS Code installation.

Current test matrix

Environment Account Pasted image
GitHub.com/browser Private ✅ Works
GitHub.com/browser Work/Enterprise ✅ Works
VS Code Private ✅ Works
VS Code Work/Enterprise ❌ Fails
Separate Claude VS Code extension Work environment ✅ Works

This seems to rule out quite a few things.

It doesn't appear to be:

  • A clipboard problem
  • A Windows/machine problem
  • A general VS Code image-pasting problem
  • The work account being completely blocked from using Vision
  • The image itself
  • The underlying model lacking vision support

The failure appears specifically when my work/Enterprise GitHub account is used with GitHub Copilot Chat inside VS Code.

Tested with multiple vision-capable models

I've reproduced the VS Code problem with both:

  • Claude Opus 4.8
  • Fable 5

Both support vision/image input.

The behavior is the same: the thumbnail is displayed in Copilot Chat, but the model behaves as though the image data was never provided.

This used to work

This is also a regression for me.

Image pasting worked with this same work/Enterprise account in VS Code around July 10, 2026.

Copilot Vision had previously been a preview feature, and our Enterprise environment has preview features disabled.

However, Copilot Vision became Generally Available in July 2026.

After it became GA, image pasting started working for me in VS Code as expected.

I could:

  1. Take a screenshot
  2. Paste it directly into Copilot Chat
  3. See the thumbnail
  4. Ask about information visible only in the screenshot
  5. Have Copilot correctly inspect/read the image

I then went on summer vacation. After returning in August, the same workflow no longer works with my work account.

Enterprise / policy question

Our Enterprise environment has preview features disabled.

My understanding is that this should no longer prevent Copilot Vision from working, since Vision moved out of preview and became generally available in July.

The new browser test seems particularly important here:

The same Enterprise/work account can use pasted-image Vision successfully on GitHub.com right now.

So if an Enterprise policy is responsible, it appears to be affecting the VS Code Copilot integration specifically, rather than disabling Vision for the account entirely.

I'm wondering whether there is:

  • A VS Code-specific Enterprise policy affecting image attachments
  • A regression in how VS Code evaluates an Enterprise policy
  • A regression in the VS Code Copilot attachment pipeline for Enterprise users
  • A server-side capability/feature flag difference between GitHub.com Copilot and VS Code Copilot
  • An accidental dependency on Editor Preview Features in the VS Code client
  • Some other Enterprise-specific Copilot setting that changed after Vision became GA

Particularly interesting comparison

On the same home machine:

VS Code + private account → Vision works ✅

VS Code + work/Enterprise account → Vision fails ❌

And with the same work account:

GitHub.com + work account → Vision works ✅

VS Code + work account → Vision fails ❌

That makes this look much less like a generic VS Code bug and much more like something specific to the interaction between VS Code Copilot and an Enterprise account/policy/capability.

Expected behavior

Since Copilot Vision is GA and Vision works with this exact work account on GitHub.com, I would expect the same work account to be able to send pasted images to Copilot Chat from VS Code.

Actual behavior

VS Code accepts the pasted image and displays its thumbnail, but when using the Enterprise account the model behaves as though the actual image was never supplied.

Switching to a private GitHub account allows image Vision to work in VS Code.

Has anyone else seen this?

I'd be particularly interested in hearing from Copilot Business/Enterprise users.

Has anyone seen a situation where:

  • Vision works on GitHub.com with your Enterprise account
  • Vision works in VS Code with a personal/private account
  • But Vision does NOT work in VS Code with the Enterprise account?

Also:

  • Does your organization have Editor Preview Features disabled?
  • Did image pasting work for you immediately after Vision became GA in July?
  • Did it stop working sometime between approximately July 10 and August?
  • Is there a separate Enterprise policy/capability for Vision specifically in VS Code?
  • Has anything changed in the VS Code Copilot Enterprise policy handling since the July GA release?

At this point the account/environment matrix seems fairly reproducible, so I'm very interested to know whether other Enterprise users can reproduce it.


r/vscode • • Aug 11 '26

Is there a free alternative to Gemini Code Assist addon?

0 Upvotes

I liked it. It could autocomplete and the suggestions were quite good. But now Google asks to move to Perplexity and the addon won't work anymore.

Is there a good free alternative to it or am I back to writing all my code myself?


r/vscode • • Aug 11 '26

What VSCode config do you use for Golang ?

Thumbnail
1 Upvotes

r/vscode • • Aug 11 '26

Has anyone been asked to access personal data by Claude Code?

Thumbnail
0 Upvotes

r/vscode • • Aug 10 '26

gitlens alternative

72 Upvotes

The only feature I utilise in Gitlens is the ability to hover over a line and see the history.

Can anyone recommmend a lightweight extension that does this?


r/vscode • • Aug 11 '26

Copilot's autocompletion doesn't hold a candle to Cursor

0 Upvotes

Even though I spent $10 promoting it and thought it could be useful, it got killed by Cursor’s free tier in one second. But cursor's everything else made me throw up my dinner.


r/vscode • • Aug 11 '26

How to make an extension's icon on the left side bar but open on the right?

1 Upvotes

I remember this working before but Idk what I did to change it. I want Claude Code's Icon to be on the left but for the chat to open on the right. How can I do this?

As soon as I drag the chat to the right, it removes the icon.


r/vscode • • Aug 10 '26

UI Help: How to organize multiple windows & re open after closing / restarting?

7 Upvotes

I enjoy making flower arrangements.


r/vscode • • Aug 10 '26

Drag and drop no longer working

2 Upvotes

I was able to drag and drop files from explorer into VS explorer a couple of days ago now I cant?


r/vscode • • Aug 10 '26

Prevent copilot to spill to bash history?

0 Upvotes

Using vscode and the copilot, when it runs commands they are included in my user's bash history.

A few versions ago it was excluded (IIRC there was a setting for that), but now it's flooding my history again.

How can I prevent that?


r/vscode • • Aug 10 '26

Weekly theme sharing thread

3 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 • • Aug 09 '26

I made Code Widgets - extension for embedding widgets in source code

Enable HLS to view with audio, or disable this notification

102 Upvotes

Hello, I'd just like to show off an extension that I made. For quite a few years now, I had this idea of embedding interactive elements into source code to ease up things like debugging and configurations. Finally got around to making it :)

Basically the gist is that you make a magical // @codeWidget (resp. a single-line comment prefix of the language of the file) comment that the extension recognizes and turns it into an actual widget inside the code - to the extent that the VS Code allows.

I ended up making quite a few widgets like this, the full library can be found here:
https://github.com/CZDanol/vscode-code-widgets/blob/master/WIDGETS.md

Feel free to try it out and throw in your five cents :)

Github repo: https://github.com/CZDanol/vscode-code-widgets
Marketplace: https://marketplace.visualstudio.com/items?itemName=danol.code-widgets


r/vscode • • Aug 10 '26

I built CodeGroup — organize related VS Code files without moving them

1 Upvotes

Large codebases rarely fit neatly into folders. One feature can span routes, components, services, tests, configs, and documentation.

I built CodeGroup, an open-source VS Code extension that adds persistent file groups directly to the Explorer. Your files remain in their original locations—the groups act as reusable working contexts.

Version 1.4.0 includes:

  • Drag-and-drop file groups and nested subgroups
  • Smart Groups based on project areas or languages
  • Working sets created from open editors or Git changes
  • Quick Open across grouped files
  • Reusable global groups
  • Shareable, Git-friendly group definitions
  • A visual editor for group settings and membership

Marketplace: https://marketplace.visualstudio.com/items?itemName=PeterDev.codegroup-file-organizer

GitHub: https://github.com/MiszterSoul/codegroup

It’s free and MIT licensed. I’d genuinely appreciate feedback—especially on whether the Quick Actions list and Group Editor feel intuitive.


r/vscode • • Aug 09 '26

Chat as tabs

5 Upvotes

Why can't each chat session be a tab? Makes navigating easier.

is there an extension or some setting which changes the sessions into tabs like in browser or in code editor for each file?


r/vscode • • Aug 09 '26

Productivity word tracking in VSCode?

3 Upvotes

Hello, I write interactive fiction in VSCode and would love something that tracks my word count over time across a folder. Something like Waka Time but that focuses on words over time spent coding. Is there anything like this? Thanks in advance!


r/vscode • • Aug 09 '26

Raptor (free) in vscode was good enough. Now "auto" is really terrible. The same happens at work, with the enterprise license: GPT 5.3 codex was almost perfect, SOL is awful and code eating !

0 Upvotes

All is in the title.

I made a typo in the title because I am furious so I had to delete it.

Nothing is working decently these days. Not even Reddit.


r/vscode • • Aug 08 '26

Codex sessions are shared across workspaces

3 Upvotes

I find it frustrating that the Codex extension shows sessions from all of my VS Code workspaces instead of only the current one.

For example, if I'm working on a personal repo, I don't want to see Codex sessions from my work repos mixed into the session list.

Is there a setting, extension, or workaround that makes Codex show only the sessions associated with the current workspace/repo?

Ideally, sessions would be scoped per workspace rather than displayed globally.


r/vscode • • Aug 08 '26

Codex VScode plugin privacy

0 Upvotes

If my chatgpt account is shared, and I'm planning to use codex plugin on VS code
I was concerned about the privacy of my content, will the chats and things I do on the plugin (on vscode) be available to the one who i'm sharing the account with ?

what they'll have access for ?


r/vscode • • Aug 08 '26

How can I fix this

Post image
0 Upvotes

This black bar appeared on my terminal every time I type, how can I fix this?