Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Better Nix SyntaxNew to Visual Studio Code? Get it now.
Better Nix Syntax

Better Nix Syntax

Jeff Hykin

|
1,821 installs
| (1) | Free
An enhanced version of Nix Syntax highlighting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What does this do?

This is a VS Code extension (Better Nix Syntax). It helps highlight your nix code better, including the code inside shellHooks. If your theme is good (please do not use the default theme), the colors themselves should look better. I'd recommended Atom One Dark, Tokyo Night, Cobalt Next, Bearded Theme (tons of variants), Noctis, XD Theme.

Before and After

Bearded Theme (Stained Blue)

Before | After

before_after_pt1 before_after 2

Atom One Dark

Before After
code_atom_theirs code_atom_mine

Cobalt Next

Before After
code_cobalt_theirs code_cobalt_mine

Bearded Theme

Before After
code_beard_theirs code_beard_mine

Like this extension?

You'll probably like this as well: The Better Syntax Megapack

How do I use this extension?

Just install the VS Code extension and the changes will automatically be applied to all relevant files.

Contributing

See documentation/CONTRIBUTING.md it explains how the codebase works and how to get it running on your system.

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