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

Go Group Imports

aleksandra

|
47,764 installs
| (6) | 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 (or four depending on the settings) groups:

  1. Standard library imports,
  2. Third party imports,
  3. (OPTIONAL) Organization imports (when is configured in settings),
  4. Own (belonging to the modue) imports.

Extension Settings

  • groupImports.onSave: automatically group imports on save. Default value is true.
  • groupImports.includeOrgGroup: handle imports from the organization into a separate group. Default value is undefined.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft