Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Generic Key-Value Syntax HighlightNew to Visual Studio Code? Get it now.
Generic Key-Value Syntax Highlight

Generic Key-Value Syntax Highlight

icetbr

|
616 installs
| (1) | Free
Turns the first word in a line into a keyword or a #comment
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Generic Key-Value Syntax Highlight

Turns the first word in a line into a keyword or a #comment. Also recognizes $variables.

Nginx sample

Usage

  • automatic for .conf files

  • override your current syntax highlight by choosing Key Value when changing file association
    Override Syntax Highlight

  • make it permanent in settings.json

    "files.associations": {
        "*.yml": "key-value",
    }
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft