Skip to content
/ yash Public
forked from babyraging/yash

Yet Another Syntax Highlighter for lex/yacc & flex/bison.

License

Notifications You must be signed in to change notification settings

doxygen/yash

This branch is 12 commits behind babyraging/yash:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 18, 2020
Apr 19, 2020
Apr 27, 2020
Oct 21, 2024
Oct 21, 2024
Apr 18, 2020
Apr 27, 2020
Mar 27, 2022
Apr 18, 2020
Nov 3, 2020
Apr 22, 2020
Mar 27, 2022
Mar 27, 2022
Apr 17, 2020
Apr 17, 2020
Mar 27, 2022

Repository files navigation

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

About

Yet Another Syntax Highlighter for lex/yacc & flex/bison.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%