Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

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

Golang Group Imports

colton

|
182 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
  • Terms of use
  • Trademarks
© 2023 Microsoft