Skip to content
| Marketplace
Sign in
Visual Studio Code>Themes>Monokai Night C SwitcherNew to Visual Studio Code? Get it now.
Monokai Night C Switcher

Monokai Night C Switcher

Th3shoterZ

|
1 install
| (0) | Free
Automatically applies Dark+ token colors for C/C++/C# files while keeping Monokai Night UI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Monokai Night C Switcher

A VS Code extension that automatically applies Dark+ (VS2026-style) syntax colors when working in C, C++, or C# files, while keeping the Monokai Night UI everywhere else — sidebar, tabs, statusbar, terminal, all untouched.

How it works

The extension listens for active editor changes. When you switch to a .c, .cpp, or .cs file, it injects editor.tokenColorCustomizations and editor.semanticTokenColorCustomizations into your global settings, overriding the syntax token colors with Dark+ equivalents. When you switch away, it clears them and Monokai Night resumes as normal.

No theme switching, no window reloads — just instant token color overrides.

Features

  • Automatic switching based on file type — no manual steps
  • Monokai Night UI colors preserved at all times
  • Dark+ token colors for C/C++/C# — keywords, types, functions, variables, interfaces, and more
  • Semantic highlighting support (requires the C# extension for full interface/type resolution)
  • Works with Settings Sync once published

Requirements

  • Monokai Night by Fabio Spampinato set as your active theme
  • For C#: the C# extension with semantic highlighting enabled

Semantic highlighting

For accurate interface coloring in C#, make sure semantic highlighting is enabled in your settings:

"editor.semanticHighlighting.enabled": true

Without this, the C# language server won't provide token types for interfaces and they'll fall back to textMate scope coloring.

Development

npm install
npm run compile

Press F5 to launch the Extension Development Host.

To package:

vsce package

Project structure

src/
  extension.ts       # activation and editor change listener
  tokenOverrides.ts  # Dark+ textMate and semantic token color definitions
themes/
  monokai-night.json # bundled Monokai Night theme

This extension was vibe coded with Claude by Anthropic.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft