In my case, it was just the theme issue. After the latest update, VSCode changed the theme to Dark Modern which is fine, but I wanted to use my existing one so I selected the Dark Theme (but my previous one was actually Dark+).

The difference between the two is the syntax highlighting feature so switching to the Dark+ Theme fixed the syntax highlighting not being enabled.

Answer from Irfan wani on Stack Overflow
🌐
Reddit
reddit.com › r/vscode › vs code: no syntax highlighting -- what am i doing wrong?
r/vscode on Reddit: vs code: no syntax highlighting -- what am I doing wrong?
March 17, 2023 -

Hi all.

I'm a complete newb on VS Code.

Below is my hello.c program -- as you can see there is no syntax highlighting.

I have only one extension enabled: Microsoft's C/C++ IntelliSense, debugging, and code browsing. v1.14.4

What am I doing wrong?

(Also, F5 does not actually run anything, but I'd like to solve the syntax highlighting first.)

Thanks in advance!

-C

No syntax highlighting Microsoft's C/C++ IntelliSense, debugging, and code browsing. v1.14.4
🌐
Manjaro Linux
forum.manjaro.org › support › aur
VS Code Syntax Highlighting Not Working - AUR - Manjaro Linux Forum
December 1, 2023 - VS code and Vscodium on Manjaro, installed via pacman or from AUR, does not have proper intellisense or syntax highlighting behavior. Below is the issue: Firstly, there is no highlighting of the imports, call to the N…
🌐
SheCodes
shecodes.io › athena › 1850-troubleshooting-syntax-highlighting-in-visual-studio-code
[VS Code] - Troubleshooting Syntax Highlighting in Visual Studio Code
Learn how to solve the issue of multiple-line lists appearing united by a single underline in the code editor Visual Studio Code.
🌐
GitHub
github.com › microsoft › vscode › issues › 165225
VSCode syntax highlighting is gone! · Issue #165225 · microsoft/vscode
November 2, 2022 - Closed as not planned · VSCode syntax highlighting is gone!#165225 · Copy link · Assignees · Labels · info-neededIssue requires more information from posterIssue requires more information from posterlinuxIssues with VS Code on LinuxIssues with VS Code on Linux ·
Author   microsoft
🌐
Reddit
reddit.com › r/vscode › syntax highlighting not working
r/vscode on Reddit: Syntax highlighting not working
October 21, 2021 -

Across all themes, my syntax highlighting is not working correctly. Although it works for certain things (ie. import turns purple and strings turn orange for dark+ theme), other fields are simply white. For the dark+ theme, variables should be blue in color, the declaration (field) string should be green, and cout/cin should be blue, but all of these appear white. I've tried to reinstall vscode, completely whipping existing settings, but nothing works. Any help would be appreciated! I'm quite new to vscode so this could be a very simple fix, but nothing I've tried has been successful.

Photo for reference:

🌐
GitHub
github.com › Microsoft › vscode › issues › 51553
Syntax highlighting stopped working · Issue #51553 · microsoft/vscode
June 10, 2018 - Does this issue occur when all extensions are disabled?: Yes, the syntax highlighting is there for a split second and then it disappears.
Author   microsoft
🌐
Visual Studio Code
code.visualstudio.com › api › language-extensions › syntax-highlight-guide
Syntax Highlight Guide | Visual Studio Code Extension API
November 3, 2021 - Semantic providers are typically ... using constant highlighting throughout the project, not just at the place of its declaration. Highlighting based on semantic tokens is considered an addition to the TextMate-based syntax highlighting....
Find elsewhere
🌐
GitHub
github.com › golang › vscode-go › issues › 3580
Syntax highlight is not working on Visual Studio Code or Cursor · Issue #3580 · golang/vscode-go
October 23, 2024 - I've installed the official Go plugin, closed and reopened the IDE and it is still not working. I've tried with the default theme on both VSCode and Cursor. All the other plugins are disabled. The editor is recognizing the file as a Go f...
Author   golang
🌐
Reddit
reddit.com › r/vscode › syntax highlight doesn't work?
r/vscode on Reddit: Syntax highlight doesn't work?
December 27, 2021 -

I just downloaded VS code so im new, but the syntax highlighter doesnt seem to be working at least for c. for instance if i try to use a varible that i forgot to declare, i don't get any errors or indicator until i've saved and complied the file. Sorry for the noob question. Is there anyway to fix this.

🌐
GitHub
github.com › microsoft › vscode › issues › 238760
VS code syntax highlight not working · Issue #238760 · microsoft/vscode
January 25, 2025 - Does this issue occur when all extensions are disabled?: Yes/No VS Code Version: OS Version : Version: 1.96.4 (user setup) Commit: cd4ee3b Date: 2025-01-16T00:16:19.038Z Electron: 32.2.6 ElectronBu...
Author   microsoft
🌐
GitHub
github.com › microsoft › vscode › issues › 133569
Syntax Highlighting not working · Issue #133569 · microsoft/vscode
September 21, 2021 - Issue Type: Bug I was using Visual Studio Code for about 1 year, with a problem that every symbol and word that is not a keyword of specific language is white. I was preparing this program speciall...
Author   microsoft
🌐
Rust Programming Language
users.rust-lang.org › editors and ides
Rust-Analyzer: Semantic Syntax Highlighting does not work in VS Code - editors and IDEs - The Rust Programming Language Forum
January 8, 2023 - The syntax highlighting does not work on my machine in VS Code. And it currently looks like this for example: As seen in the image only key words and parenthesis are highlighted, all other identifiers and so on are wh…
🌐
Reddit
reddit.com › r/vscode › why is my syntax highlighting not working anymore
r/vscode on Reddit: Why Is My Syntax Highlighting Not Working Anymore
September 5, 2024 -

I'm a game developer that works with Unity. For some reason, after about a month ago, my syntax highlighting for types stopped working. They're usually highlighted in green. Here's my code:

Bugged Syntax Highlighting

The Assembly references, Text, GameObject, & ToggleController names are all supposed to be green. The syntax highlighting works when I first open a file, but after I open a second file, the syntax highlighting disappears. I tried downgrading from 1.9.2 to 1.9.1 to solve the problem, and also reenabled the Unity extension. I've put Unity in Debug Mode. However, I'm still getting the same error in the console (here):

Error Log

Here are my auto update settings:

Update Settings

Please help me figure out what's conflicting so I can enjoy VS Code with syntax highlighting again.

🌐
GitHub
github.com › styled-components › vscode-styled-components › issues › 35
Syntax highlighting not working on vscode 1.18.0-insider · Issue #35 · styled-components/vscode-styled-components
December 12, 2017 - After I updated to vscode 1.18.0-insider, the syntax highlighting no longer worked Env: Windows 10
Author   styled-components
🌐
GitHub
github.com › microsoft › vscode › issues › 190981
Syntax highlighting keeps breaking · Issue #190981 · microsoft/vscode
August 22, 2023 - Type: Bug my syntax highlighting for my python code randomly breaks (see the first variable is just "grey" in the first screenshot) it is seriously annoying. I have looked on many online ...
Author   microsoft
🌐
Developer Community
developercommunity.visualstudio.com › content › problem › 1043776 › syntax-highlighting-not-working-anymore.html
syntax highlighting not working anymore
May 22, 2020 - Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
🌐
Medium
jwchang0206.medium.com › fix-vscode-syntax-highlighting-with-typescript-3-7-3dfc79db0c7a
Fix VSCode Syntax Highlighting with TypeScript 3.7+ | by Jeong Woo Chang | Medium
November 19, 2019 - In TypeScript 3.7, there are some interesting new features like optional chaning and nullish coalescing. When I tried to install and configure to try using new features, there were some syntax highlight breaking and my VS Code was not able to detect the new features correctly.
🌐
GitHub
github.com › microsoft › vscode › issues › 234047
Issue with syntax highlighting no longer working after packaging or publishing an extension · Issue #234047 · microsoft/vscode
November 17, 2024 - git clone this (https://github.com/etmclovin/vscode-ask-mode) extension and run it in developer host · observe that custom syntax highlighting works (image:)
Author   microsoft