Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Golang Group ImportsNew to Visual Studio Code? Get it now.
Golang Group Imports

Golang Group Imports

colton

|
5,767 installs
| (1) | Free
VSCode extension for separating imports in go files into three groups: stdlib, 3rdparty, own.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

go-group-imports

VSCode extension for separating imports in Go files into three groups:

  1. Standard library imports,
  2. Third party imports,
  3. Own (belonging to the organization) imports.

Extension Settings

  • groupImports.onSave: automatically group imports on save. Default value is true.
  • groupImports.GoPrivate: the private packages that will also be included as own packages, eg: "github.com/your-compony/"
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft