Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>YashNew to Visual Studio Code? Get it now.
Yash

Yash

daohong emilio

|
109,743 installs
| (21) | Free
Yet another syntax highlighter for lex/yacc & flex/bison.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Yet Another Syntax Highlighter

This is yet another syntax highlighter for lex/yacc and flex/bison.

Features

This extension provides full syntax highlight for these languages and also for the embedded language C/C++.

This extension also supports some basic language features such as:

  • Code diagnostic
  • Auto-completion
  • Go to Definition
  • Go to Type Definition
  • Find references
  • Rename Symbol
  • Hover

Preview

Completion for lex

Completion for yacc

Diagnostic

More examples

You can find more previews here previews.

Notice

Since 1.43.0 VSCode enabled a new feature called Semantic Highlighting, this extension supports it.

By default, only the built-in themes has semantic highlighting enabled, so if you are using a 3rd party theme that doesn't support the semantic coloring yet, you have to add these lines to your settings.json file to have the feature enabled.

"editor.tokenColorCustomizations": {
	"[name of the theme]": {
		"semanticHighlighting": true
	}
}

For extra information see https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview.

Here is the comparison with and without semantic highlighting.

On left enabled, on right disabled

Requirements

VSCode ^1.44

Contributors

  • @babyraging - creator
  • @sceriffo - creator
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft