|
93 | 93 | "ignore" |
94 | 94 | ], |
95 | 95 |
|
| 96 | + // workspaceFiles configures the set of globs that match files defining the |
| 97 | + // logical build of the current workspace. Any on-disk changes to any files |
| 98 | + // matching a glob specified here will trigger a reload of the workspace. |
| 99 | + // |
| 100 | + // This setting need only be customized in environments with a custom |
| 101 | + // GOPACKAGESDRIVER. |
| 102 | + // |
| 103 | + "gopls.workspaceFiles": [], |
| 104 | + |
96 | 105 | // hoverKind controls the information that appears in the hover text. |
97 | | - // SingleLine and Structured are intended for use only by authors of editor plugins. |
| 106 | + // SingleLine is intended for use only by authors of editor plugins. |
98 | 107 | // |
99 | 108 | "gopls.hoverKind": "FullDocumentation", |
100 | 109 |
|
|
204 | 213 | // |
205 | 214 | "gopls.staticcheck": false, |
206 | 215 |
|
207 | | - // (experimental) annotations specifies the various kinds of optimization diagnostics |
208 | | - // that should be reported by the gc_details command. |
209 | | - // |
210 | | - "gopls.annotations": { |
211 | | - "bounds": true, |
212 | | - "escape": true, |
213 | | - "inline": true, |
214 | | - "nil": true |
215 | | - }, |
216 | | - |
217 | 216 | // (experimental) vulncheck enables vulnerability scanning. |
218 | 217 | // |
219 | 218 | "gopls.vulncheck": "Off", |
|
259 | 258 | // ... |
260 | 259 | // "codelenses": { |
261 | 260 | // "generate": false, // Don't show the `go generate` lens. |
262 | | - // "gc_details": true // Show a code lens toggling the display of gc's choices. |
263 | 261 | // } |
264 | 262 | // ... |
265 | 263 | // } |
266 | 264 | // ``` |
267 | 265 | // |
268 | 266 | "gopls.codelenses": { |
269 | | - "gc_details": false, |
270 | 267 | "generate": true, |
271 | 268 | "regenerate_cgo": true, |
272 | 269 | "run_govulncheck": false, |
|
282 | 279 |
|
283 | 280 | // (experimental) noSemanticString turns off the sending of the semantic token 'string' |
284 | 281 | // |
| 282 | + // Deprecated: Use SemanticTokenTypes["string"] = false instead. See |
| 283 | + // golang/vscode-go#3632 |
| 284 | + // |
285 | 285 | "gopls.noSemanticString": false, |
286 | 286 |
|
287 | | - // (experimental) noSemanticNumber turns off the sending of the semantic token 'number' |
| 287 | + // (experimental) noSemanticNumber turns off the sending of the semantic token 'number' |
| 288 | + // |
| 289 | + // Deprecated: Use SemanticTokenTypes["number"] = false instead. See |
| 290 | + // golang/vscode-go#3632. |
288 | 291 | // |
289 | 292 | "gopls.noSemanticNumber": false, |
290 | 293 |
|
| 294 | + // (experimental) semanticTokenTypes configures the semantic token types. It allows |
| 295 | + // disabling types by setting each value to false. |
| 296 | + // By default, all types are enabled. |
| 297 | + // |
| 298 | + "gopls.semanticTokenTypes": {}, |
| 299 | + |
| 300 | + // (experimental) semanticTokenModifiers configures the semantic token modifiers. It allows |
| 301 | + // disabling modifiers by setting each value to false. |
| 302 | + // By default, all modifiers are enabled. |
| 303 | + // |
| 304 | + "gopls.semanticTokenModifiers": {}, |
| 305 | + |
291 | 306 | // local is the equivalent of the `goimports -local` flag, which puts |
292 | 307 | // imports beginning with this string after third-party packages. It should |
293 | 308 | // be the prefix of the import path whose imports should be grouped |
|
0 commit comments