r/vscode

Strange syntax highlighting
▲ 0 r/vscode

Strange syntax highlighting

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.

u/Ok-Presentation-94 — 1 hour ago
▲ 3 r/vscode+1 crossposts

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

I tried Task Sync, but it seems to just create a separate embedded session inside Copilot.

What I’m looking for is true cross-device continuity. For example, I want to be able to start a prompt on my PC and continue that same session from my phone, or start on my phone and continue on my PC. I’d also want the history, responses, and notifications to stay in sync.

Basically, I want my phone to give me almost the same Copilot chat experience as the Copilot panel on my PC, instead of feeling like a separate session.

Is that possible today?

reddit.com
u/reallionkiller — 10 hours ago
▲ 1 r/vscode

Genuine Question - Is the VSCode Repo Compromised?

Starting last week with the push and release vscode with GitHub Copilot Chat integration, there have been two releases on the official vscode repository. Both of them are releases for the extension, not for VSCode itself. This is very inconsistent with both versioning and previous release schemes of the code. This recent change corresponds an increase in commits by github.com/joaomoreno, and both misnumbered releases are from that user.

I just want to ask because with the number of recent supply change compromises recently make me more aware of odd changes.

reddit.com
u/warhorseGR_QC — 9 hours ago
▲ 3 r/vscode

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

  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

reddit.com
u/Passerby_07 — 1 hour ago
▲ 16 r/vscode+1 crossposts

I read a lot of markdown these days

AI output, project context docs, changelogs — it's all .md. The default preview felt too plain for how much time I spend in it.

Markdown Appealing (vscode extension):

  • 3 themes (minimal, magazine, terminal/hacker)
  • Sidebar table of contents with scroll tracking
  • Mermaid diagrams show up as actual visuals
  • Search with Cmd+K
  • Vim keys to jump between headings
  • Dark/light mode
  • Custom fonts
  • Copy button on code blocks

Same Cmd+Shift+V shortcut. Free, open source.

Marketplace: https://marketplace.visualstudio.com/items?itemName=rayeddev.markdown-appealing

GitHub: https://github.com/rayeddev/markdown-appealing

Happy to hear what you'd want added.

u/rayeddev — 10 hours ago
▲ 1 r/vscode+1 crossposts

How to recover overwritten code

I had code that I used ollama’s kimi k2.5 cloud add stuff through continue. It proceeded to make changes but in the end, almost 2000 lines of code were reduced to 90. How can I get them back? Note - I’m a non technical person so if there’s any way to get them back by pressing a few buttons rather than writing lines of code, I’d prefer that. Thanks.

reddit.com
u/aadivala2910 — 24 hours ago
▲ 1 r/vscode

i cant run my programs

So i have VsCode for a month now, at first i installed all C/C++ extensions and the Code Runner, and i always could just click f6 to run the code, but now i just cant run anything, i find out to configurate to run when type ctrl shift b, but not even that go anymore, and when i search it just say to download the Code Runner but i already have it

reddit.com
u/Acrobatic_Ad_9737 — 2 hours ago
▲ 6 r/vscode+1 crossposts

Question regarding Jupyter type implementations in VSCode for Ocaml

Hello,

Ive been coding on VSCode python since September for my CS classes and I really like the Jupyter implementation where I can easily send parts of my code to the interactive kernel and the easy delimitations with #%%
We've started doing Ocaml and I was looking at implementing this for Ocaml and I didnt find an equivalent extension for the language. Ive started looking at how I could implement this manually and figured out how to send selected text to the kernel and how to easily add delimitations ( Im using (*%%*) as a delimiter) but I couldnt find a way to implement sending the code between different delimiters to the kernel. Are there any current existing implementaitons of this in VSCode or other Ocaml code editors?

reddit.com
u/Hot-Weird9982 — 14 hours ago
▲ 3 r/vscode+2 crossposts

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

I put together a quick walkthrough on how I connect VS Code to a remote Ansible server using Remote SSH.

This setup has made it much easier for me to manage playbooks, edit files, and work directly on the server without constantly switching contexts.

Curious how others are doing this — are you using VS Code Remote SSH, or sticking with terminal-based workflows?

Happy to hear any tips or better approaches.

youtube.com
u/Aspiring-Dev — 17 hours ago
▲ 1 r/vscode+1 crossposts

HELP NEEDED GUYS

Hi everyone, I've got a question regarding the CODERBYTE website. I'll be honest I have an assessment in about a week's time that I'm not confident in passing😂. The problem is that once the you log into the assessment it tracks the tab so if you move to any other tab it immediately flags it as cheating. You're also not allowed to copy and paste anything during the assessment and if you do it's also flagged. Does anyone know how I can cheat on the test, without getting flagged for cheating? I've used claude continously on VS code so I intend to use it to generate the answers where I get stuck. It'll be of immense help guys, I trust someone here has experience with these types of tests. Thank you.

reddit.com
u/ArtThen2031 — 15 hours ago
▲ 3 r/vscode

Weekly theme sharing thread

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.

reddit.com
u/AutoModerator — 11 hours ago
▲ 2 r/vscode

File explorer erroneously coloring files as warnings, then changes its mind on preview

I've inherited a legacy java project where the dir structure is pretty complex and deeply nested (isn't that just every java project?)

When I open this workspace in vscode, I immediately see heaps of subdirs appearing in red, indicating vscode thinks they contain files with warnings

But when I drill into those subdirs, and click each of the red files, they are previewed in vscode

At this point it decides they are no issues after all, the filename turns white in file explorer, along with all the parent dir hierarchy. This happens each time I open the workspace, pretty annoying!

I'm guessing there's some mismatch between the linter being used to preview files, and the linter which is checking the overall project for warnings

The only java-specific extension Im using is "Language Support for java(TM) by Red Hat"

How can I troubleshoot this, or identify whats causing the files to turn red when workspace is first loaded?

Version: 1.114.0
Commit: e7fb5e96c0730b9deb70b33781f98e2f35975036
Date: 2026-04-01T09:27:11Z
Electron: 39.8.3
ElectronBuildId: 13658728
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.19.11-arch1-1
reddit.com
u/thing_on_a_spring — 20 hours ago
▲ 10 r/vscode+1 crossposts

Git Graph hasn't been updated in years, so I built a modern alternative

Hey everyone.

I’ve been using the classic Git Graph extension for a long time. It works, but it hasn't received an update in over 3 years and the UI feels pretty dated at this point.

I got tired of waiting for updates, so I built my own replacement: Git Graph Plus.

I rewrote it from the ground up using Svelte. The main goal was just to make it cleaner, and actually maintain it. You can do all the usual stuff you’d expect branching, merging, rebasing, cherry-picking right from the visual graph.

It’s completely open source. If you're still using the old extension and want something a bit more modern, give it a try and let me know how it feels.

Repo is here: https://github.com/the0807/git-graph-plus

VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=the0807.git-graph-plus

https://preview.redd.it/gtwyja918yvg1.png?width=2854&format=png&auto=webp&s=5005875a43c38c6d94ef0e3cdf62ee72c9cb739c

If you run into bugs or have feature requests, drop an issue on GitHub or just let me know here. Thanks.

reddit.com
u/Loud-Insect9247 — 2 days ago
▲ 2 r/vscode

What is the name of this and how do I customize the colour?

In this screen shot, as I move the cursor around (the cursor is currently on line 75 on the word show_help) the "return" on line 76 appears as a suggestion.

While I do find it useful, I want to change its colour so it is more obvious that it is not really there.

First, does anybody know the official name of that feature?

There appears to be several "suggestion/completion" mechanism. Notice that this is the one that displays a little "tab stop" icon next to the line number.

Second, I want to know the name of the colour identifier I can use in settings.json.

I have already tried:

workbench.colorCustomizations": {
"editorGhostText.foreground": "#FF0000",
"editorSuggestWidget.foreground": "#FF0000",
"editorSuggestWidget.inlineForeground": "#FF0000",
"editor.inlineCompletion.foreground": "#FF0000",
...and others I forgot...
}

I am running VSCode 1.116 on Arch Linux (btw).

u/ptousig — 1 day ago
▲ 3 r/vscode

latest vscode on mac has lost git status colors

Version: 1.116.0 (Universal)
Commit: 560a9dba96f961efea7b1612916f89e5d5d4d679
Date: 2026-04-15T00:28:13Z (4 days ago)

how to fix this problem?

reddit.com
u/totallyalien — 2 days ago
▲ 0 r/vscode

Can copilot extension be removed somehow?

It now built-in and the "uninstall" button is grayed out. Can it somehow be removed otherwise? Is this discussed anywhere?

reddit.com
u/AnArmoredPony — 2 days ago