Skip to content

Commit 5a61df2

Browse files
committed
chore: upgraded vscode files
1 parent 3df3063 commit 5a61df2

File tree

4 files changed

+902
-56
lines changed

4 files changed

+902
-56
lines changed

.vscode/extensions.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"recommendations": [
3-
"golang.Go"
4-
]
2+
"recommendations": [
3+
"golang.Go",
4+
"github.vscode-github-actions",
5+
"redhat.vscode-yaml"
6+
]
57
}

.vscode/launch.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"name": "Launch",
6-
"type": "go",
7-
"request": "launch",
8-
"mode": "auto",
9-
"program": "${fileDirname}",
10-
"env": {},
11-
"args": []
12-
}
13-
]
2+
"configurations": [
3+
{
4+
"args": [],
5+
"env": {},
6+
"mode": "auto",
7+
"name": "Launch",
8+
"program": "${fileDirname}",
9+
"request": "launch",
10+
"type": "go"
11+
}
12+
],
13+
"version": "0.2.0"
1414
}

.vscode/settings.json

Lines changed: 97 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,99 @@
11
{
2-
"[go]": {
3-
"editor.formatOnSave": true,
4-
"editor.codeActionsOnSave": {
5-
"source.organizeImports": "explicit"
6-
}
7-
},
8-
"[go.mod]": {
9-
"editor.formatOnSave": true,
10-
"editor.codeActionsOnSave": {
11-
"source.organizeImports": "explicit"
12-
}
13-
},
14-
"go.useLanguageServer": true,
15-
"gopls": {
16-
"formatting.local": "github.com/bsv-blockchain/go-subtree",
17-
"formatting.gofumpt": true
18-
},
19-
"go.lintTool": "golangci-lint",
20-
"go.lintFlags": [
21-
"--verbose"
22-
],
23-
"[go][go.mod]": {
24-
"editor.codeActionsOnSave": {
25-
"source.organizeImports": "explicit"
26-
}
27-
}
2+
"[go.mod]": {
3+
"editor.codeActionsOnSave": {
4+
"source.organizeImports": "explicit"
5+
},
6+
"editor.formatOnSave": true
7+
},
8+
"[go]": {
9+
"editor.codeActionsOnSave": {
10+
"source.organizeImports": "explicit"
11+
},
12+
"editor.defaultFormatter": "golang.go",
13+
"editor.formatOnSave": true
14+
},
15+
"[go][go.mod]": {
16+
"editor.codeActionsOnSave": {
17+
"source.organizeImports": "explicit"
18+
}
19+
},
20+
"[yaml]": {
21+
"editor.defaultFormatter": "redhat.vscode-yaml"
22+
},
23+
"files.associations": {
24+
"application.yaml": "yaml-cloudformation"
25+
},
26+
"go.addTags": {
27+
"options": "json=omitempty",
28+
"promptForTags": false,
29+
"tags": "json",
30+
"transform": "snakecase"
31+
},
32+
"go.coverOnSave": false,
33+
"go.coverageDecorator": {
34+
"coveredHighlightColor": "rgba(64,128,64,0.5)",
35+
"type": "gutter",
36+
"uncoveredHighlightColor": "rgba(128,64,64,0.25)"
37+
},
38+
"go.delveConfig": {
39+
"debugAdapter": "dlv-dap",
40+
"dlvLoadConfig": {
41+
"followPointers": true,
42+
"maxArrayValues": 64,
43+
"maxStringLen": 256,
44+
"maxStructFields": -1,
45+
"maxVariableRecurse": 1
46+
},
47+
"showGlobalVariables": false
48+
},
49+
"go.enableCodeLens": {
50+
"runtest": true
51+
},
52+
"go.inlayHints.assignVariableTypes": true,
53+
"go.inlayHints.compositeLiteralFields": true,
54+
"go.inlayHints.compositeLiteralTypes": true,
55+
"go.inlayHints.constantValues": true,
56+
"go.inlayHints.functionTypeParameters": true,
57+
"go.inlayHints.parameterNames": true,
58+
"go.inlayHints.rangeVariableTypes": true,
59+
"go.lintFlags": [
60+
"--fast",
61+
"--timeout=5m"
62+
],
63+
"go.lintOnSave": "package",
64+
"go.lintTool": "golangci-lint",
65+
"go.testExplorerPackages": ".*",
66+
"go.testFlags": [
67+
"-v",
68+
"-race",
69+
"-count=1"
70+
],
71+
"go.toolsManagement.autoUpdate": true,
72+
"go.useLanguageServer": true,
73+
"gopls": {
74+
"build.directoryFilters": [
75+
"-node_modules",
76+
"-vendor",
77+
"-.git",
78+
"-dist",
79+
"-build",
80+
"-.mage-cache"
81+
],
82+
"formatting.gofumpt": true,
83+
"formatting.local": "github.com/bsv-blockchain/go-subtree",
84+
"symbolMatcher": "fastfuzzy",
85+
"symbolStyle": "full",
86+
"ui.completion.completeFunctionCalls": true,
87+
"ui.completion.usePlaceholders": true,
88+
"ui.diagnostic.analyses": {
89+
"nilness": true,
90+
"shadow": true,
91+
"unusedparams": true,
92+
"unusedvariable": true,
93+
"unusedwrite": true
94+
},
95+
"ui.diagnostic.staticcheck": true,
96+
"ui.navigation.importShortcut": "Definition",
97+
"ui.semanticTokens": true
98+
}
2899
}

0 commit comments

Comments
 (0)