Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go Struct Tag HighlighterNew to Visual Studio Code? Get it now.
Go Struct Tag Highlighter

Go Struct Tag Highlighter

Fernando Mamani

|
21 installs
| (1) | Free
Highlights Go struct tags with theme-aware colors for improved readability and customization.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-struct-tag-highlighter

Go Struct Tag Highlighter is a lightweight VS Code extension that highlights Go struct tag keys using your theme's colors. You can also override the default theme colors and define your own.

Before

Dark mode before Light mode before

After (user defined colors)

Dark mode after Light mode after

After (theme aware colors)

Themed dark mode 1 Themed dark mode 2

Themed light mode 1 Themed light mode 2

Features

  • Theme aware colors.

  • Highlights struct tag keys and values.

  • Automatically adapts to light and dark themes.

  • User-configurable colors in settings.json.

Extension Settings

This extension contributes the following settings:

  • goStructTagHighlighter.colors.enabledCustom: Enable custom colors for Go struct tags. If disabled, the extension will use the default theme colors.
  • goStructTagHighlighter.colors.dark.key: Color for struct tag keys in dark mode.
  • goStructTagHighlighter.colors.dark.value: Color for struct tag values in dark mode.
  • goStructTagHighlighter.colors.light.key: Color for struct tag keys in light mode.
  • goStructTagHighlighter.colors.light.value: Color for struct tag values in light mode.

Extension commands

  • goStructTagHighlighter.toggleCustomColors: Toggles the goStructTagHighlighter.colors.enabledCustom option.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft