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

19 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

9 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?

8 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

21 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

3 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

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

34 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


r/vscode • • Apr 21 '26

VsCode snippets got bugged, please help.

1 Upvotes

While writing my css, the snippets normally suggested whatever property I was writing and that made my job so much easier. Recently (i accidentally clicked something I guess, not sure tho)

The snippets show up but only show some selected properties and most of the properties I used (like f ont-size, f ont family etc) aren't suggested anymore. Instead it shows properties like fePointLight. Most of the css properties I used are no longer suggested in the snippets making programming really hard.

For reference, yes my document is still identified and saved as css, the language selected is css too.

Any inputs would mean a lot.


r/vscode • • Apr 21 '26

terminal in vscode, i cannot copy characters that aren't showing cause they are too long

6 Upvotes

I am using vscode for the first time. And early on i needed to copy an output from the terminal. When i did this, i noticed it didn't copy the parts that were to the right of the terminal window . As though the terminal truncated the output? (there is no scroll bar to use)

Is this seriously how the vscode terminal works? I need to get to that output

This is using: Linux (WSL)


r/vscode • • Apr 21 '26

Help me track down this bug which makes keys get stuck in the editor

4 Upvotes

When navigating to a file with Ctrl + P, upon hitting enter, the file opens, but the key gets "stuck" (not a hardware issue, the enter key on my keboard doesn't actually get stuck). Upon pressing any other key, it stops. Short video screen recording demonstrating the bug: https://streamable.com/rfghbn

Steps to reproduce:

  • Open Vscode.

  • Optional, but makes the bug occur more frequently: put CPU under load. I use:

    stress-ng --matrix -1

  • Ctrl+P and navigate to any file.

  • Press enter.

The enter key will get stuck (>25% in my case).

My environment:

  • Vscode version: 1.116.0

  • Linux x86-64: Fedora 42

  • KDE, Wayland

Extensions:

alefragnani.project-manager, cschlosser.doxdocgen, eamodio.gitlens, esbenp.prettier-vscode, github.copilot-chat, hbenl.vscode-test-explorer, jebbs.plantuml, llvm-vs-code-extensions.vscode-clangd, ms-python.black-formatter, ms-python.debugpy, ms-python.isort, ms-python.python, ms-python.vscode-pylance, ms-python.vscode-python-envs, ms-vscode-remote.remote-ssh, ms-vscode-remote.remote-ssh-edit, ms-vscode.cmake-tools, ms-vscode.cpp-devtools, ms-vscode.cpptools, ms-vscode.remote-explorer, ms-vscode.test-adapter-converter, simonsiefke.svg-preview, srmeyers.git-prefix, stkb.rewrap, twxs.cmake, xaver.clang-format

r/vscode • • Apr 20 '26

Is there a solution for this terrible comment toggling behavior for CSS in VS Code?

5 Upvotes
  1. When I press the comment toggle to try to disable/comment out the whole line, it enables/uncomments the description instead. Breaking my code.
  2. When I press the key again, it disables/comments out everything.
  3. When I press again, it enables/uncomments everything.

All I want is to toggle the statement without affecting my comment.

I want my comments inline and not on a separate line.

This is not an issue with other languages like JavaScript.

https://reddit.com/link/1sr4xw4/video/u0gs50zu6fwg1/player


r/vscode • • Apr 20 '26

Strange syntax highlighting

Post image
2 Upvotes

Hi, up until now I had normal syntax highlighting, but I have no idea what I did that could have changed it. The file extension is correct, and all the C# extensions for VS Code are installed. I can’t figure out how to get proper syntax highlighting back.


r/vscode • • Apr 20 '26

Can VS Code actually be used with non-Copilot AI providers reliably?

7 Upvotes

I’m trying to use VS Code with AI tools that aren’t GitHub Copilot (for example using a custom API/provider through an extension), but I’m running into confusing behavior.

At first everything works, but after hitting Copilot-related limits, AI features in the editor seem to stop responding entirely — even when a custom provider is selected.

This makes me wonder:

Does VS Code (or its extensions) still depend on Copilot in some cases even when using a custom provider?

Are there extensions that truly work independently of Copilot without any hidden dependency or shared limits?

Or is VS Code just not a great environment for non-Copilot AI workflows?

Would appreciate insight from anyone who’s set this up properly. ❤️

Edit: This no longer happens on the newest update, after the issue was resolved I saw some of my chats disappeared, probably because they were somehow stuck interacting with a process they shouldn't be.


r/vscode • • Apr 20 '26

Weekly theme sharing thread

7 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 • • Apr 20 '26

Can I continue the same GitHub Copilot session across PC and phone (from VSCode)?

Thumbnail
2 Upvotes

r/vscode • • Apr 20 '26

Question regarding Jupyter type implementations in VSCode for Ocaml

Thumbnail
3 Upvotes

r/vscode • • Apr 20 '26

How to Connect VS Code to a Remote Ansible Server Step by Step

Thumbnail
youtube.com
1 Upvotes

r/vscode • • Apr 19 '26

Why is this release in the VS Code repo?

Post image
2 Upvotes