Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beerose/go-group-imports-vscode
VSCode extension for separating imports in go files into three groups: stdlib, 3rd party, own.
https://github.com/beerose/go-group-imports-vscode
Last synced: 4 days ago
JSON representation
VSCode extension for separating imports in go files into three groups: stdlib, 3rd party, own.
- Host: GitHub
- URL: https://github.com/beerose/go-group-imports-vscode
- Owner: beerose
- License: mit
- Created: 2018-10-20T17:55:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-19T12:43:54.000Z (4 months ago)
- Last Synced: 2024-12-15T00:26:05.009Z (9 days ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=aleksandra.go-group-imports
- Size: 85 KB
- Stars: 32
- Watchers: 3
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`.