Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Gokit: Go Strings HighlightNew to Visual Studio Code? Get it now.
Gokit: Go Strings Highlight

Gokit: Go Strings Highlight

egorlepa

|
10 installs
| (0) | Free
Highlights placeholders and escape sequences in go string literals.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go Strings Highlight

Go Strings Highlight is a VS Code extension that enhances Go code readability by highlighting format string placeholders and escape sequences. This helps developers quickly identify and understand formatted strings, reducing errors and improving efficiency.

Features

  • Highlight placeholders (%d, %s, %v, etc.) in Go format strings
  • Highlight escape sequences (\n, \t, \\, \xFF, etc.)
  • Customizable colors via VS Code settings
  • Efficient performance with debounced updates

How It Works

  1. Scans Go source files for string literals.
  2. Detects placeholders and escape sequences.
  3. Applies syntax highlighting with configurable colors.

Configuration

You can customize highlight colors in settings.json:

"go-strings-highlight.colors.placeholderColor": "#ffcc00",
"go-strings-highlight.colors.escapeSequenceColor": "#ff6666"

Screenshots

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft