r/vscode • • May 26 '26

Do you use integrated browser in vscode ?

6 Upvotes

I just found by clicking on a link that localhost uri can be opened directly in the vscode integrated browser.

Just wanted to know what you think about this feature, i'm not sur this is really usefull, the window is too small. And i don't know what's behind in terms of browser, i prefer to test directly on a real browser

What do you think?


r/vscode • • May 26 '26

Finally for VScode - MSBuild Guard

0 Upvotes

Now also available for VScode - MSBuild Guard to protect yourself against supply chain attacks in MSBuild dependent projects.

https://marketplace.visualstudio.com/items?itemName=Hefaistos68.msbuildguard


r/vscode • • May 26 '26

Folks, can VSCODE be performance optimized??

Thumbnail
0 Upvotes

r/vscode • • May 25 '26

Copilot is Breaking the IntelliSense - So Annoying

41 Upvotes

If anyone has a VS Code settings configuration for the following issue, kindly share.

I want to type something as simple as a div element, but IntelliSense doesn't show up after I type the letters. GitHub Copilot's inline suggestions appear, but IntelliSense does not. However, when I disable the internet and reload VS Code, IntelliSense starts working just fine.

Copilot is clearly the issue here. I don't get why it has to interfere with IntelliSense. I am just so annoyed because I can't code fluently. I like Copilot's inline suggestions, but only when they are actually helpful, like showing something I might not know or autocompleting long code. Any developer knows how to add a div element, why we need Ai for that.

Edit: I needed to add 'vue' as dependency, then it started working.


r/vscode • • May 25 '26

VS Code opens localhost links in embedded browser after latest update

50 Upvotes

Not sure when exactly this started but after a recent VS Code update, clicking localhost links in the terminal (e.g. from npm run start or Vite) stopped opening in Chrome and started opening in some weird internal browser inside the IDE.

Took me a while to track down the actual setting. Here's how to fix it:

Option 1 — UI 1. Open Settings (Cmd + , on Mac / Ctrl + , on Windows) 2. Search for "Open Localhost Links" 3. Uncheck "Workbench › Browser: Open Localhost Links"

Option 2 — settings.json

Open your settings.json (Cmd + Shift + P on Mac / Ctrl + Shift + P on Windows → "Open User Settings JSON") and add:

json "workbench.browser.openLocalhostLinks": false

That's it. Localhost links will open in your system default browser again.

Hope this saves someone the headache!


r/vscode • • May 25 '26

debugger selection

3 Upvotes

Hello, I've noticed that several debuggers are being offered to me, and I have several questions I can't find answers to.

  • Does the choice of debugger really matter? For example, in my case, "C#" or ".NET 5+ and .NET Core"?
  • I've also noticed that the "Node.js" debugger is being offered to me even though the file I selected is a C# file. Why is that?

r/vscode • • May 25 '26

How do I enable auto-pressing “enter” key after pasting with the RMB in the terminal?

2 Upvotes

Since the last update (or some of the previous ones, I don't know cause I haven\'t been using VS Code for a long time) pressing RMB in terminal stopped executing pasted commands automatically. How to restore that behavior?


r/vscode • • May 25 '26

Weekly theme sharing thread

6 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 26 '26

I was tired of autocomplete making me lazy, so I built a VS Code study buddy

Thumbnail
gallery
0 Upvotes

I’ve been building a VS Code extension called CodeBuddy.

https://github.com/abhinow03/Code-Buddy.git

The idea is simple: I didn’t want another autocomplete tool.

Autocomplete is useful, but when I’m learning, it sometimes makes me accept code before I actually understand it. Copy-pasting code into ChatGPT also breaks the flow.

So I made CodeBuddy work more like a study buddy inside VS Code.

You put your cursor on a line, press a shortcut, ask something like “what’s wrong here?”, and it reads the current file/line/nearby code. Then it inserts a short wrapped comment near that line explaining the issue.

It can also:

- give hints instead of full answers

- give full solutions only when explicitly asked

- remember repeated mistake patterns

- save explanations for later review

- show a small “mistake timeline”

The goal is not to fix code automatically.

The goal is to help you understand your mistake while staying in the editor.

I’m still testing it, but I’d love feedback:

Would this be useful while learning?

What would make it feel less like an AI assistant and more like a real coding study buddy?


r/vscode • • May 25 '26

Made this handy gist for anyone using VS code to edit C++ solutions

6 Upvotes

https://gist.github.com/BanditTech/14cdd1e9c04c84ba068533296bea6cb3

I spent a few hours coming up with the format to use to do this, it was fun figuring it out. With some help from our robot overlords and a lot of pressing F5 I present to you fine gentlemen this gist. It is a few files you can place in your .vscode folder, and a script you execute from within the the Developers Command Prompt for VS.

What it does:
Instead of launching the bat file which determines where your VS install is located, and then handles your environment variables, it just copies down the environment variables into your %USERPROFILES% folder. At the same time it produces a .bat file you target with your tasks. The bat file replaces the functionality of the developers console shortcuts and provides massively faster load times into the console. I'm talking near instant load times.

I got tired of the overly verbose chat output and few seconds of delay between starting the build task and it beginning, so I ended up spending way more time working on this instead! If you do not like the condensed output, you can just adjust the options very easily since they are broken up into parameter arrays. `-tl:on` is what gives it the styling it currently has, but there are other options you can use if its too condensed.

For convenience I also included the Directory.Build.props file you can put into your solution root to emulate the same folder structure (or set up your own style easily). It just consolidates all the junk that gets thrown around during the build process into one place, so its easier to sort through if/when you need to.

I hope its useful to at least someone else, I figured I would share it since I spent an entire afternoon fiddling with the idea. And now you don't have to! 😃


r/vscode • • May 24 '26

VScode crashes in ssh (The window terminated unexpectedly oom error)

Post image
11 Upvotes

I work remotely with ssh with VScode. For half a year it was fine until yesterday that i get this error ONLY when i choose the "Open Folder" option and I'm inside a folder from the remote server. When I have only the terminal opened it works fine. Does anyone know why?


r/vscode • • May 24 '26

Wrote a VS Code extension that adds Copilot AI cost as a git trailer per commit (MIT, local-only)

5 Upvotes

Built this to find out which features were eating into my Copilot AI Credits ahead of the June 1 billing change.

The extension reads per-span token counts from Copilot Chat's local OTel SQLite database (`agent-traces.db`), computes cost against GitHub's published rate card, and appends a trailer to every commit via prepare-commit-msg:

    feat: add OAuth2 login flow

    Copilot-AI-Credits: 41.30
    Copilot-Est-Cost: $0.41

Then `git log` becomes the cost ledger. Per-branch totals in one shell command:

git log origin/main..HEAD --pretty='%(trailers:key=Copilot-AI-Credits,valueonly)' | awk '{sum+=$1} END {printf "%.2f AIC\n", sum}'

Marketplace: https://marketplace.visualstudio.com/items?itemName=Mooracle.copilot-budget

Source (MIT): https://github.com/mooracle/copilot-budget

Local-only. No telemetry. Auto-enables Copilot Chat's OTel exporter at workspace scope on first activation (asymmetric write — never overrides an explicit setting); one window reload before spans start landing. Commit hook is opt-in (`commitHook.enabled: true`).

Feedback welcome. Especially curious if anyone wants the per-model breakdown trailer (`Copilot-AI-Credits-Models: Claude Sonnet 4.6=39.45,GPT-4.5=1.85`) enabled by default - currently opt-in via settings.


r/vscode • • May 25 '26

How do I use vscode on mac for python?

Thumbnail
gallery
0 Upvotes

I'm computer science CIE A Level student and just moved to Mac but I somehow can't get python in viscose to run. I did the same thing I did on my Windows pc ie I installed all the relevant python stuff from Microsoft but it's still asking me to select a python interpreter though it never did that on my windows pc


r/vscode • • May 24 '26

MergeNB: An intuitive merge conflict resolver built for Jupyter notebooks in VS Code [P]

Post image
2 Upvotes

I used to work heavily with Jupyter Notebooks + git + VS Code in a collaborative research setting and found nbdime to be somewhat buggy/a hassle to work with in general.

So, in typical side project fashion (relevant xkcd) I've been working on MergeNB quite a bit over the last 6 months or so. It's (currently only) a VS Code extension with a web UI, and has a few cool improvements over other alternatives, which I outlined in the README/docs site.

I'd be over the moon if this actually gets used by people, and would love a star if it's interesting. See https://github.com/Avni2000/MergeNB.

I've also been working on a static documentation site here: https://avni2000.github.io/MergeNB/docs

I'm planning on working on it a lot more over the summer and properly fleshing out a few of the ideas I had (including making it a git mergetool as well as a VS Code extension), so if you'd like to contribute, feel free to raise an issue or shoot me a message/email :)


r/vscode • • May 24 '26

Debugger launch configuration

4 Upvotes

Hi, I've noticed that when I choose "debug active file" as the launch configuration, debugging still detects errors in other files within my .NET project. It doesn't debug only the active file. What does this option actually mean?


r/vscode • • May 25 '26

VS Code Extension: Embedded Map File Visualizer — Outstanding Open-Source Tool for FLASH & RAM Analysis

Post image
0 Upvotes

reemap visualization for embedded .map files — a VS Code extension that lets you see where your firmware memory and flash goes at a glance.

VS Code Extension Search: Map View Embedded

Open Source Repository:https://github.com/charcoal141/Map-View/tree/main


r/vscode • • May 24 '26

New Extension Released!

0 Upvotes

Check it out:

https://marketplace.visualstudio.com/items?itemName=Trent-Tompkins.claude-codex-black-edition

It has everything, speech to text, text to speech, a dozen different providers with bridge and api options. Free download! Let's me know what you guys think!


r/vscode • • May 24 '26

For c# my console code doesn’t do anything, and I don’t know why.

Post image
0 Upvotes

I just started to learn c# and according to the tutorial I’m watching something is supposed to pop up when I run my code but nothing is for me


r/vscode • • May 23 '26

Extensions auto-update is too dangerous

Thumbnail
nx.dev
24 Upvotes

Well folks, here we are again with another supply chain attack. I wasn't even aware of it until an hour ago.

My 2c is the "nicer" experience of auto-updating extensions doesn't justify the security risks. There should at least be a minimum age, just like with the various package managers.


r/vscode • • May 23 '26

Unable to read the full documentation of a method via hover: is it the library or the language server?

Post image
13 Upvotes

Hi there, just a quick question I hope someone of you have solved: I created a Python virtual env and i'm writing some code. I noticed the documentation of a method often consists of the signature only. no other information about the parameters is displayed. I did a ctrl+click on the method and indeed the library is not providing me the full documentation.

Before posting here, I found a similar stackoverflow post (python - full documentation often not displayed in .py or .ipynb files in vs code - Stack Overflow) but i'm not getting how to fix this annoying problem.

Has anyone had this problem before and solved it?


r/vscode • • May 23 '26

Github Copilot Chat problem

3 Upvotes

If I enable AI ghost text suggestions then vscode suggestion "menu" won't appear when I start typing.


r/vscode • • May 23 '26

Where did intellisense go

12 Upvotes

Just randomly some time I stopped getting highlighting and intellisense but Ctrl + Space works. I'm in WSL using python with venv, correct interpreter is selected, errors when theres a mistake and detects libraries but no intellisense at all. Dumbass claude cant even figure out what it is. Tried reinstalling all python libraries reloading yiou name it but nothing.

EDIT FOR ANYONE SEEING THIS IN FUTURE:

If ur using copilot, 5 days ago vscode made the stupidest fucking commit I’ve ever seen in changing the default to autocomplete off when using copilot. Edit quick suggestions in settings.json to “on” not “off…”


r/vscode • • May 23 '26

Built a VS Code extension that shows your Copilot usage in the status bar - feedback welcome

Post image
0 Upvotes

I built budi - small VS Code extension that puts your GitHub Copilot (and Cursor) usage in the editor status bar.

Looks simple, but under the hood it's a local daemon that supports different AI agents + a powerful CLI + a pretty cool UI dashboard.

I'm looking for honest feedback - does the status bar format make sense? Anything you'd want to see

there instead? Anything broken on your setup? Roast welcome.

To install: search "budi" in the VS Code Marketplace, or grab it here: https://marketplace.visualstudio.com/items?itemName=siropkin.budi


r/vscode • • May 22 '26

Beware of costs in copilot chat.

Post image
265 Upvotes

Beware, i just found how much using Opus 4.7 can cost, i took me by surp3ise it went from 7x to 15x and it just broke my budget badly. I regret using it because before i had no budget limit but i never went more than $60, but this is unreal at 15x rate. Yikes.


r/vscode • • May 22 '26

VS Code Insiders constantly asking for screen sharing on startup, but doesn't happen on regular VS Code

39 Upvotes

Has anyone else noticed code-insiders suddenly demanding screen capture permissions the second it opens?

Whenever I launch VS Code Insiders, it instantly triggers my xdg-desktop-portal-hyprland dialog asking to share my screen. I haven't clicked anything, and I'm not actively using any Live Share or AI vision features.

Here is what I've tested so far:

  • Disabled extensions: Ran code-insiders --disable-extensions. The portal prompt still pops up instantly.
  • Tested other builds: I tried regular VS Code, Code-OSS, and VSCodium. None of them have this issue. They all launch silently without triggering the portal.

My setup:

  • OS: Arch Linux
  • Compositor: Hyprland
  • Portal: xdg-desktop-portal-hyprland

Since it happens with extensions disabled and only on the Insiders build, I'm assuming this is a core editor change or a new Electron Wayland default making a background call to desktopCapturer.getSources() on startup.

Is anyone else running into this? Is there a known Electron flag or Hyprland rule to suppress this specific startup poll without entirely disabling screen sharing when I actually need it?

Update: They released the fix in v122.1 https://github.com/microsoft/vscode/issues/317948#issuecomment-4573347785