11
11
"postCreateCommand" : " ~/.windows.sh && go mod download && go mod tidy" ,
12
12
"workspaceFolder" : " /workspace" ,
13
13
// "overrideCommand": "",
14
- "extensions" : [
15
- " golang.go" ,
16
- " eamodio.gitlens" , // IDE Git information
17
- " davidanson.vscode-markdownlint" ,
18
- " ms-azuretools.vscode-docker" , // Docker integration and linting
19
- " shardulm94.trailing-spaces" , // Show trailing spaces
20
- " Gruntfuggly.todo-tree" , // Highlights TODO comments
21
- " bierner.emojisense" , // Emoji sense for markdown
22
- " stkb.rewrap" , // rewrap comments after n characters on one line
23
- " vscode-icons-team.vscode-icons" , // Better file extension icons
24
- " github.vscode-pull-request-github" , // Github interaction
25
- " redhat.vscode-yaml" , // Kubernetes, Drone syntax highlighting
26
- " bajdzis.vscode-database" , // Supports connections to mysql or postgres, over SSL, socked
27
- " IBM.output-colorizer" , // Colorize your output/test logs
28
- // "mohsen1.prettify-json", // Prettify JSON data
29
- // "zxh404.vscode-proto3", // Supports Proto syntax
30
- // "jrebocho.vscode-random", // Generates random values
31
- // "alefragnani.Bookmarks", // Manage bookmarks
32
- // "quicktype.quicktype", // Paste JSON as code
33
- // "spikespaz.vscode-smoothtype", // smooth cursor animation
34
- ],
35
- "settings" : {
36
- "files.eol" : " \n " ,
37
- "remote.extensionKind" : {
38
- "ms-azuretools.vscode-docker" : " workspace"
39
- },
40
- "editor.codeActionsOnSaveTimeout" : 3000 ,
41
- "go.useLanguageServer" : true ,
42
- "[go]" : {
43
- "editor.formatOnSave" : true ,
44
- "editor.codeActionsOnSave" : {
45
- "source.organizeImports" : true ,
46
- },
47
- // Optional: Disable snippets, as they conflict with completion ranking.
48
- "editor.snippetSuggestions" : " none"
49
- },
50
- "[go.mod]" : {
51
- "editor.formatOnSave" : true ,
52
- "editor.codeActionsOnSave" : {
53
- "source.organizeImports" : true ,
54
- },
55
- },
56
- "gopls" : {
57
- "usePlaceholders" : false ,
58
- "staticcheck" : true
59
- },
60
- "go.autocompleteUnimportedPackages" : true ,
61
- "go.gotoSymbol.includeImports" : true ,
62
- "go.gotoSymbol.includeGoroot" : true ,
63
- "go.lintTool" : " golangci-lint" ,
64
- "go.buildOnSave" : " workspace" ,
65
- "go.lintOnSave" : " workspace" ,
66
- "go.vetOnSave" : " workspace" ,
67
- "editor.formatOnSave" : true ,
68
- "go.toolsEnvVars" : {
69
- "GOFLAGS" : " -tags=" ,
70
- "CGO_ENABLED" : 1 // for the race detector
71
- },
72
- "gopls.env" : {
73
- "GOFLAGS" : " -tags="
74
- },
75
- "go.testEnvVars" : {
76
- "" : " " ,
77
- },
78
- "go.testFlags" : [
79
- " -v" ,
80
- " -race"
81
- ],
82
- "go.testTimeout" : " 10s" ,
83
- "go.coverOnSingleTest" : true ,
84
- "go.coverOnSingleTestFile" : true ,
85
- "go.coverOnTestPackage" : true
14
+ "customizations" : {
15
+ "vscode" : {
16
+ "extensions" : [
17
+ " golang.go" ,
18
+ " eamodio.gitlens" , // IDE Git information
19
+ " davidanson.vscode-markdownlint" ,
20
+ " ms-azuretools.vscode-docker" , // Docker integration and linting
21
+ " shardulm94.trailing-spaces" , // Show trailing spaces
22
+ " Gruntfuggly.todo-tree" , // Highlights TODO comments
23
+ " bierner.emojisense" , // Emoji sense for markdown
24
+ " stkb.rewrap" , // rewrap comments after n characters on one line
25
+ " vscode-icons-team.vscode-icons" , // Better file extension icons
26
+ " github.vscode-pull-request-github" , // Github interaction
27
+ " redhat.vscode-yaml" , // Kubernetes, Drone syntax highlighting
28
+ " bajdzis.vscode-database" , // Supports connections to mysql or postgres, over SSL, socked
29
+ " IBM.output-colorizer" , // Colorize your output/test logs
30
+ " github.copilot" // AI code completion
31
+ // "mohsen1.prettify-json", // Prettify JSON data
32
+ // "zxh404.vscode-proto3", // Supports Proto syntax
33
+ // "jrebocho.vscode-random", // Generates random values
34
+ // "alefragnani.Bookmarks", // Manage bookmarks
35
+ // "quicktype.quicktype", // Paste JSON as code
36
+ // "spikespaz.vscode-smoothtype", // smooth cursor animation
37
+ ],
38
+ "settings" : {
39
+ "files.eol" : " \n " ,
40
+ "editor.formatOnSave" : true ,
41
+ "go.buildTags" : " " ,
42
+ "go.toolsEnvVars" : {
43
+ "CGO_ENABLED" : " 0"
44
+ },
45
+ "go.useLanguageServer" : true ,
46
+ "go.testEnvVars" : {
47
+ "CGO_ENABLED" : " 1"
48
+ },
49
+ "go.testFlags" : [
50
+ " -v" ,
51
+ " -race"
52
+ ],
53
+ "go.testTimeout" : " 10s" ,
54
+ "go.coverOnSingleTest" : true ,
55
+ "go.coverOnSingleTestFile" : true ,
56
+ "go.coverOnTestPackage" : true ,
57
+ "go.lintTool" : " golangci-lint" ,
58
+ "go.lintOnSave" : " package" ,
59
+ "[go]" : {
60
+ "editor.codeActionsOnSave" : {
61
+ "source.organizeImports" : true
62
+ }
63
+ },
64
+ "gopls" : {
65
+ "usePlaceholders" : false ,
66
+ "staticcheck" : true ,
67
+ "vulncheck" : " Imports"
68
+ },
69
+ "remote.extensionKind" : {
70
+ "ms-azuretools.vscode-docker" : " workspace"
71
+ }
72
+ }
73
+ }
86
74
}
87
75
}
0 commit comments