|
37 | 37 | "go.useLanguageServer": true, |
38 | 38 | "go.toolsManagement.autoUpdate": true, |
39 | 39 |
|
| 40 | + // ============================================================ |
| 41 | + // INLAY HINTS |
| 42 | + // ============================================================ |
| 43 | + "go.inlayHints.assignVariableTypes": true, |
| 44 | + "go.inlayHints.compositeLiteralFields": true, |
| 45 | + "go.inlayHints.compositeLiteralTypes": true, |
| 46 | + "go.inlayHints.constantValues": true, |
| 47 | + "go.inlayHints.functionTypeParameters": true, |
| 48 | + "go.inlayHints.parameterNames": true, |
| 49 | + "go.inlayHints.rangeVariableTypes": true, |
| 50 | + |
40 | 51 | // ============================================================ |
41 | 52 | // LINTING |
42 | 53 | // ============================================================ |
|
119 | 130 | "ui.completion.completeFunctionCalls": true, |
120 | 131 | "ui.completion.usePlaceholders": true, |
121 | 132 |
|
122 | | - // -------------------------------------------------------- |
123 | | - // Inlay Hints (Inline Type & Parameter Information) |
124 | | - // -------------------------------------------------------- |
125 | | - "ui.inlayHint.assignVariableTypes": true, |
126 | | - "ui.inlayHint.compositeLiteralFields": true, |
127 | | - "ui.inlayHint.compositeLiteralTypes": true, |
128 | | - "ui.inlayHint.constantValues": true, |
129 | | - "ui.inlayHint.functionTypeParameters": true, |
130 | | - "ui.inlayHint.parameterNames": true, |
131 | | - "ui.inlayHint.rangeVariableTypes": true, |
132 | | - |
133 | 133 | // -------------------------------------------------------- |
134 | 134 | // Symbol Navigation |
135 | 135 | // -------------------------------------------------------- |
|
142 | 142 | // Extends the 60+ golangci-lint philosophy into the IDE |
143 | 143 | // -------------------------------------------------------- |
144 | 144 | "ui.diagnostic.staticcheck": true, |
145 | | - "ui.diagnostic.vulncheck": "Imports", |
146 | 145 | "ui.diagnostic.analyses": { |
147 | 146 | "unusedparams": true, |
148 | 147 | "shadow": true, |
149 | 148 | "unusedwrite": true, |
150 | | - "fieldalignment": true, |
151 | 149 | "nilness": true, |
152 | 150 | "unusedvariable": true |
153 | 151 | }, |
|
0 commit comments