|
1 | 1 | { |
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 | + } |
28 | 99 | } |
0 commit comments