Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go err highlightingNew to Visual Studio Code? Get it now.
Go err highlighting

Go err highlighting

Hironobu Saito

|
819 installs
| (0) | Free
Highlight an err variable in Go source code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-err-highlighting

Features

This extension highlights the error variables such as err and errCh in your Go source code.

before.png after.png
Before After

Extension Settings

You can define the highlight color of the error variables by adding editor.tokenColorCustomizations section to your settings.js.

  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "keyword.err.go",
        "settings": {
          "foreground": "#DD3D05",
          "fontStyle": "bold",
        }
      }
    ]
  }

Release Notes

0.0.1

Initial release

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