go-syntax

module
v0.6.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MIT

README

Go Syntax

Rich Syntax Highlighting for Go language

With this extension, your favorite theme will be able to color your code better.

About

Go Syntax improves your coding experience by providing client-side syntax highlighting based on TextMate rules. This means you can enjoy advanced code coloring without relying on the Language Server Protocol (LSP).

Go Syntax is compatible with various platforms, including web-based code editors like vscode.dev and github.dev.

⚠️ Note: Gopls' ui.semanticTokens setting is disabled by default and shouldn't be enabled if you want to use this extension.

Comparisons (Before - After)

Dark+ Theme - Before

Dark+ Theme - After

Dracula Theme - Before

dracula_before

Dracula Theme - After

dracula_after

Ayu Dark Theme - Before

ayudark_before

Ayu Dark Theme - After

ayudark_after

Contributing

Yes, please! Feel free to contribute.

Credits

This extension enhances better-go-syntax with new features.

Semantic tokens tested thanks to the vscode-tmgrammar-test.

License

MIT

Directories

Path Synopsis
SYNTAX TEST "source.go" "Stress Test"
SYNTAX TEST "source.go" "Stress Test"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL