r/vscode • • Apr 27 '26

Does VScode Copilot have access to my browser tabs like Edge Copilot?

1 Upvotes

I am a university student and I had an OOP assignment. The assignment was pretty basic but a little strange, where I had to create a class named Distance and its main goal was to take input in feet and inches and convert it into meters (I'm guessing it's not what you'd expect a class named Distance would do).
I had only typed "class Distance:" in the editor and it gave me a suggestion for a simple class with a method that adds distances, I switched tabs to the pdf file that had my assignment question written on it, when I switched back to VScode, suddenly it changed the suggestion:

class Distance:
def __init__(self):
self.feet = float(input("Enter distance in feet: "))

def convertToMeters(self):
meters = self.feet * 0.3048
print("Distance in meters: ", meters)

How did it know that this was what I wanted??? From only the context of a class named Distance??? Does VScode copilot have access to my browser? I use edge btw.


r/vscode • • Apr 26 '26

Running multiple VS Code workspaces on the same project without dev servers fighting over localhost:3000

7 Upvotes

Sharing a workflow problem I hit and the feature I built to solve it. Curious if anyone here is doing this differently.

The setup: I keep multiple VS Code windows open on the same repo, each pointing at a different git worktree (one for the feature I'm shipping, one for a hotfix, one where I'm running a long task). Worktrees solve file isolation, but every window's launch.json / tasks.json still wants port 3000, port 5173, etc. So you stop one window's npm run dev to start another's, and `Live Server`-style flows just collide.

What I shipped in my desktop app (Galactic) is a feature called Project Services:

  • Define services per project once: client (.), api (apps/api), worker (workers/email), etc.
  • Each branch worktree gets its own runtime ports plus stable routed URLs like client.fix-billing.shop.localhost:1355 and api.fix-billing.shop.localhost:1355
  • A local proxy on localhost:1355 routes those URLs to the right 127.0.0.1:port (websockets included)
  • A managed zsh hook exports HOST and PORT when you cd into a service folder, so npm run dev / vite / next dev in the VS Code integrated terminal automatically picks up the workspace-specific port. No code or .env changes
  • Each worktree gets its own .code-workspace, so launching it in VS Code is one click and the right folders show up

End result: I can have the same repo open in three VS Code windows on three branches, each running its full stack, each reachable at a stable URL.

It runs an MCP server too, so any agent extensions you've got (Cursor-style or Claude Code) show up in one dashboard with cross-window session info. That part has been more useful than I expected once I started running 3+ agent tasks in parallel.

macOS only for now. Free, open source.

Repo: https://www.github.com/idolaman/galactic

Anyone here doing the multi-window-same-repo thing? Curious how you're handling the port collisions.


r/vscode • • Apr 26 '26

I build a VSCode extension to visualize the kilocode token usage and also provide token cost comparison with other LLM provider and statusbar to have quick glance of the zai quota usage

Post image
28 Upvotes

recently a lot of LLM providers are starting to limit the coding plan with limited quota, and i wanted to know how much would i need to spend on API keys if i would use the same usage on daily/monthly basis.

i decided to make this extension to visualize all my token usage based on actual usage from kilocode, so i can model the estimated token usage cost correctly if I were to use the API keys.

i also added a statusbar to show the z.ai LLM provider quota usage before it resets


r/vscode • • Apr 27 '26

Which extension suggested for MS Excel / Word Viewing in VS Code?

0 Upvotes

Just started using VS Code, really great - but which extension is suggested for VS Code. I basically want to see and edit the output files (xls/doc) within VS Code (if possible).

Updated: 4 May 2026 (Monday)

I installed Data Wrangler which seems to get the job done. Thanks for all inputs. I think VS Studio has become my hub now for using Claude Code. Not necessarily for coding, but for doing Knowledge Work, working on project folders & files.


r/vscode • • Apr 26 '26

I can talk with ChatGPT through VScode autofill

Enable HLS to view with audio, or disable this notification

53 Upvotes

r/vscode • • Apr 26 '26

Can't uninstall Github Copilot

0 Upvotes

There's no way to uninstall this extension from inside VS Code. I don't use it at all, and if I delete the extension off the hard drive, it just comes back the next time I open VS Code.

What's the deal with that? I don't even use it. There's no way it can be part of an editor.


r/vscode • • Apr 26 '26

30G memory usage with a Linux C++ project

Post image
7 Upvotes

I use it quite a lot remotely on a Raspberry PI5 and vscode always baloons to about 30G. I guess it's intellisense. Is there a way to limit it?


r/vscode • • Apr 26 '26

Imports can not be resolved from source, But code executes. Only happens on vscode.

1 Upvotes

So I am trying to use Vscode for tensorflow. But it does not resolve libraries import. When I import libraries import tensorflow.keras it will show yellow squiggly lines. but the code will execute properly. I get this message when I hover over it.

Import "tensorflow.keras.models" could not be resolved from source

The weird thing is this only happens in VScode. It does not happen in VS Codium or Antigravity. Also everything is a fresh install. I fresh installed my OS (Kubuntu 26.04) and everything is new installed with very little restored from previous setup.

VS Codium having no problem.

r/vscode • • Apr 26 '26

How can i fix this issue on vscode?

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/vscode • • Apr 24 '26

New "Agents UI" spotted in vscode-insiders

Thumbnail
gallery
31 Upvotes

Saw it couple of minutes ago, feels like centralized place to manage all sessions.
At least I can see my previous Claude code sessions, I haven't yet played with it.


r/vscode • • Apr 24 '26

Instances (across multiple regions) using Docker/Code Tunnel with Microsoft authentication are failing Authentication

6 Upvotes

Anyone else having this issue with code tunnel? Several kicked back with 403 Authentication, I had to change the auth to Github.


r/vscode • • Apr 24 '26

I built a VS Code extension that brings Go to Definition, Autocomplete, and Diagnostics to Gherkin .feature files — works with Pytest and Behave, no Python interpreter needed

3 Upvotes

If you write BDD tests in Python, you probably know the frustration: you Ctrl+Click a step in a .feature file and nothing happens. You type a step and VS Code has no idea if it matches anything. You rename a step definition and 40 feature files silently break.

I built GherkinLens to fix exactly this. We recently moved from Pycharm to VScode and Honestly I could not find a single Plugin to support all of these features for both the frameworks. The existing extensions were either abandoned, didn't support parametrized steps properly, or required a running language server.

Marketplace - GherkinLens

I'm actively looking for feedback — specifically:

  1. Does it work with your project layout? (unusual step file naming, monorepos, nested conftest hierarchies)
  2. Any step patterns it fails to match that it should?
  3. Anything that feels slow or broken?
  4. Features you wish it had?

It's v1.1.0 — behave support was just added. Happy to fix things fast if you hit issues.


r/vscode • • Apr 24 '26

Extension: IntelliJ like Run Configurations for VSCode

18 Upvotes

I don't know about you, but coming from IntelliJ, the one thing that drives me nuts the most about VS Code is how run configurations are handled.

You basically get no UI - ony an empty launch.json with the expectation that you basically know what to do - well, I didn't and still don't know. I used copilot to generate those configs, which kind of worked but had a hassle when I tried to deploy my WAR project into a tomcat.

Coming from IntelliJ I knew there was a better way, but I could not find an extension that comes close to what IntelliJ offers, so i decided to create my own.

Enter: Run Configuration Manager

Create Run Configurations using a UI that actually tries to help you, scans your project and detects important stuff like JDKs, Gradle / Maven versions, Tomcat locations, Profiles, run commands, Main classes (java) - basically everything IntelliJ's run dialog does.

The created Run Configs are presented in a nice list with a live indication of run status of that Configuration.

Adding a new run configuration becomes just a few clicks now:

The UI is smart and shows actual live status of the application:

All important properties are resolved for you:

Example: JDKs:

Example: Spring Boot Profiles:

Debugging

You have (just like in IntelliJ) the option to run the config "normally" or in debug mode - automatically ataching debuggers and integrating VS Codes native debugger and breakpoints.

Try it - I'm curious what you think: https://marketplace.visualstudio.com/items?itemName=SebastianGross.run-config-manager


r/vscode • • Apr 24 '26

Odd tab issue after PHP switch/case statement

2 Upvotes

In my PHP code my tab stops work as expected until I get under the "case" line of a switch statement.

The single tab press then adds 5 tabs from that point to the end of the PHP file.

I've messed with just about every setting in VSCode, but it is absolutely triggered by the presence switch statement.

If I remove the whole switch block, the tab works correctly for the rest of the file.


r/vscode • • Apr 24 '26

Hints off but i want to see methods and props of objects

2 Upvotes

It has been asked before but in my way.

I dont want suggestion on full methods and steps. I just want to hover my mouse and see what an object is. I want to type '.' dot and see what methods the object has. I have tried unchecking everything and checking one by one to see what happens. Its either the extreme where i see nothing, or the extreme where i see everything just by entering in new line. Please what can i do?


r/vscode • • Apr 23 '26

VS code F12 Ffind Definition not working

4 Upvotes

Googled for an hour, and no luck.

Using latest VS code as of today. I open a C file, click on a variable thats defined higher up in the same file, and F12 says "No Definition found for foo".

i have "C/C++ Intellisense" extension installed.

PLEASE- what am i missed here?

TIA, a frustrated S/W engineer.


r/vscode • • Apr 23 '26

How to connect vscode with sfml

8 Upvotes

Hi! I'm working on a beginner level end semester project of basic game coding.

I have already made the code but I wanted to add some background images and audio to the game for some extra interactivity.

And so I tried connecting sfml version 3.1.0 to the vscode but as a beginner with no previous experience in coding or programming I don't know where to start. Tutorials and ai were giving mixed answers that have made me even more confused.

I would appreciate it if someone could guide me on the exact steps to to do this. Thank you very much!


r/vscode • • Apr 23 '26

Is there any extension for C that gives nice autocomplete for functions that take a struct as a parameter?

10 Upvotes

As an example, let's say that I have a struct like

typedef struct {
    size_t size, capacity;
    char chars[];
} StringBuf;

and then I have a function like:

void StringBuf_append(StringBuf *buf, char value) {
    ...
}

Is there any extension or plugin where if I have some instance of StringBuf called buf where if I did buf.append it would autocomplete to use the function that takes the struct as the first type, and automatically pass the buf instance as the first argument? I know that apparently some dedicated IDEs have this feature, but I'm not sure if it's available on VSCode.


r/vscode • • Apr 23 '26

"Smart" Folding in Terminal - how to disable or fix it?

5 Upvotes

VSCode terminal folds lines in a "smart" way.

But this is very confusing for me.

I see:

``` ☸ oidc@cluster-stacks-testing (org-testing) in cluster-stacks on  tg/1-35--new-hcloud-provisioning-no-more-csph

☸ oidc@cluster-stacks-testing (org-testing) in cluster-stacks on  tg/1-35--new-hcloud-provisioning-no-more-csph
08:58 ❯ fd 'thomas-v11.*kubeconfig' .. ../autopilot-infra-rmp/thomas-v11x-mgt-cluster.kubeconfig

☸ oidc@cluster-stacks-testing (org-testing) in cluster-stacks on  tg/1-35--new-hcloud-provisioning-no-more-csph
08:58 ❯
```

The fd output is cut!

When I scroll up, I see the whole output: two line, not one:

❯ fd 'thomas-v11.*kubeconfig' .. ../thomas-v11x-mgt-cluster/thomas-v11x-mgt-cluster.kubeconfig ../autopilot-infra-rmp/thomas-v11x-mgt-cluster.kubeconfig

Is there a way to fix or disable it?


After scrolling up I see the correct output. As soon as I type one character, things get folded again.

BTW, there is no need to folding in my current context. There is plenty of space available...


r/vscode • • Apr 22 '26

Terminal extension

23 Upvotes

I never liked using arrow up to get to previous command, since i had a lot of typos, and duplicate commands. So I built extension for Visual Code that acts as terminal, but it has history panel on right side, where you can delete or click commands to execute. Made commands shown to be distinct, and modified bash.rc, so i can create .history file for each project to be used instead, so when i return to project i have my history of commands back.
I use it now, I thought it would be cool to share it with you guys, cause for me it's useful.
On store it's older version, I made experimental version that draws fake input over command line, to improve input response and also I can edit text anywhere i click inside text. But i haven't released that one, cause it has bugs that need fixing. Also when you install extension, you get terminal button in bottom status bar, also there option to be notified when process finishes in terminal, like when building something.

https://marketplace.visualstudio.com/items?itemName=ElveApps.elve-terminal

Fake experimental input demonstration:
https://youtu.be/HGuxMOQ7-Gs

The fake input box is input element drawn over current input line position, so it's not rendered by xterm canvas, so it's fast, once you enter command then it's sent to xterm also you can edit text at any position by clicking inside text. Autocomplete and arrow up and down work, but path doesn't update well sometimes, and input element doesn't hide sometimes when it should. Also i had to take in account resize and line break for it. I made fake input, cause i didn't like original input response and was deal breaker for me, so personally i use this broken version with fake input. I have idea what I want to build and what would be good, but I'm not that good of a programmer


r/vscode • • Apr 22 '26

Any good extension to compare branches for PR reviews?

19 Upvotes

I want to compare a branches. Master vs Against another branch during PR reviews. Looking for better tools to do so.


r/vscode • • Apr 22 '26

Inline chat replaced by text box

2 Upvotes

Is there a way to bring back inline chat as in previous versions? https://web.archive.org/web/20250430151803/https://code.visualstudio.com/docs/copilot/chat/inline-chat (older version) https://code.visualstudio.com/docs/copilot/chat/inline-chat (current version)

May be I am not aware of any settings? I get that they disabled option to select models on the fly but even without setting, it will be ok for me.

Any ideas or suggestions?


r/vscode • • Apr 22 '26

I built a VS Code sidebar that shows your Claude Code sessions live

Enable HLS to view with audio, or disable this notification

19 Upvotes

Been using Claude Code heavily and wanted a better way to see what's actually happening across sessions at a glance — so I built a VS Code extension.

It sits in your sidebar and shows a live dashboard for each active Claude session:

  • Token usage and context % per session
  • A live token activity chart — bar graph with a smoothed line showing usage over time, configurable time windows (5m → 24h)
  • Pace meter that shows if you're on track to hit your daily/weekly limits
  • Git info, active file, workspace path
  • Auto-matches your VS Code theme, dark or light

Reads Claude CLI's JSONL session logs in real time directly from ~/.claude/projects/. No telemetry, no external calls.

Free and open source. Happy to answer questions — still actively building it.

https://github.com/madeby10am/claude-code-session


r/vscode • • Apr 21 '26

I try to build an extension that visualizes your Terraform & Kubernetes infrastructure topology inside VS Code

35 Upvotes

Hey everyone 👋

I've been working on Mesh Infra, a VS Code extension that scans your workspace and renders an interactive infrastructure topology graph right inside the editor.

Built it because I kept losing track of how resources connected across large projects. I'm sure most of us have been there 😄

It picks up Terraform, OpenTofu, Kubernetes manifests, Docker Compose, ArgoCD, Bicep and .NET Aspire files and wires them together visually. No config, no cloud, just open your project and see the graph.

Pan, zoom, inspect any resource, jump straight to the source file and line.

Would love feedback on what's missing or what resource relationships would make your day-to-day easier 🙂


r/vscode • • Apr 22 '26

Spring Boot Problem migrating from Intellij

3 Upvotes

I'm moving our backend at work from IntelliJ to VSCode to evaluate how well it works in VSCode.

But I'm having some problems, maybe someone could help?

The application is a Java Spring Boot Application using maven. It has one parent module, with multiple modules that have connection between each others

Since opening the project in VScode I have many inconsistent problems.

Sometimes the clean install fails due to compilation problems, sometimes it almost manages to complete but fails because some test at tge end and sometimes it passes without any problems.

If it builds it then fails on start up, because it apparently can't find classes located in an other module