Skip to content

Commit 35af1b5

Browse files
authored
feat: "deno.forcePushBasedDiagnostics" setting (#1354)
1 parent c7ad27c commit 35af1b5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

client/src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function handleConfigurationChange(event: vscode.ConfigurationChangeEvent) {
4747
event.affectsConfiguration("deno.enablePaths") ||
4848
event.affectsConfiguration("deno.env") ||
4949
event.affectsConfiguration("deno.envFile") ||
50+
event.affectsConfiguration("deno.forcePushBasedDiagnostics") ||
5051
event.affectsConfiguration("deno.future") ||
5152
event.affectsConfiguration("deno.internalInspect") ||
5253
event.affectsConfiguration("deno.logFile") ||

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,16 @@
356356
1000
357357
]
358358
},
359+
"deno.forcePushBasedDiagnostics": {
360+
"type": "boolean",
361+
"markdownDescription": "Disables the server-capability for pull diagnostics to force push-based diagnostics.",
362+
"default": false,
363+
"scope": "window",
364+
"examples": [
365+
true,
366+
false
367+
]
368+
},
359369
"deno.future": {
360370
"deprecationMessage": "Deno 2.0 has been released. This setting still affects 1.x.x installations, however.",
361371
"type": "boolean",

0 commit comments

Comments
 (0)