Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Go Custom FormatNew to Visual Studio Code? Get it now.
Go Custom Format

Go Custom Format

Bong Nguyen

|
14,338 installs
| (0) | Free
Provide custom format for Go codes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-custom-format README

The extension provides a functionality to run a custom format for Go codes.

Requirements

  • The extension doesn't come with any formatter. A format tool needs to be installed and configured to make it work.

Extension Settings

This extension contributes the following settings:

  • goCustomFormat.onSave: To format codes before saving.
  • goCustomFormat.fmtCmds: To configure the format commands. For example:
  "goCustomFormat.onSave": true,
  "goCustomFormat.fmtCmds": [
    "grabbyright"
  ],

Commands

The extension also provides several commands in the Command Palette for working with Go files:

  • Run custom format: To format the current file.

Known Issues

TODO


Enjoy!

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