Skip to content

Commit 131c47e

Browse files
authored
Update VS Code settings (#88)
1 parent b01f22c commit 131c47e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.vscode/settings.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
{
2-
// gopls
2+
// gopls with gofumpt and import ordering
33
"go.useLanguageServer": true,
44
"gopls": {
55
"gofumpt": true,
66
},
7+
"[go]": {
8+
"editor.formatOnSave": true,
9+
"editor.codeActionsOnSave": {
10+
"source.organizeImports": true,
11+
},
12+
},
13+
"[go.mod]": {
14+
"editor.formatOnSave": true,
15+
"editor.codeActionsOnSave": {
16+
"source.organizeImports": true,
17+
},
18+
},
19+
720
// golangci-lint
821
"go.lintTool": "golangci-lint",
922
"go.lintFlags": [

0 commit comments

Comments
 (0)