You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new enum setting (low | medium | high | critical, default "low")
that mirrors the CLI's --severity-threshold. Drives a client-side
handleDiagnostics middleware that drops diagnostics below the
configured threshold before they reach VS Code's Problems panel.
Reads Diagnostic.data["severity"] which the v1.0.6 server emits, so
CRITICAL and HIGH are distinguished even though the LSP severity
enum collapses both to Error. Diagnostics without the data.severity
metadata (older server, or a non-pipeline-check publish) pass
through unconditionally so the filter never hides legitimate signal
when the metadata is absent. The config is re-read on each publish,
so a settings change takes effect on the next scan with no restart.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|`pipelineCheck.serverCommand`|`python`| Command used to launch the language server. Override if `pipeline_check` is installed under a different interpreter. |
60
60
|`pipelineCheck.serverArgs`|`["-m", "pipeline_check.lsp"]`| Arguments passed to the server command. |
61
+
|`pipelineCheck.severityThreshold`|`low`| Lowest severity that produces a diagnostic. One of `low`, `medium`, `high`, `critical`. Mirrors the CLI's `--severity-threshold`. |
61
62
|`pipelineCheck.trace.server`|`off`| Traces LSP traffic. Set to `verbose` when debugging. |
Copy file name to clipboardExpand all lines: package.json
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,17 @@
78
78
],
79
79
"markdownDescription": "Arguments passed to the server command. Default invokes the module via `python -m pipeline_check.lsp`."
80
80
},
81
+
"pipelineCheck.severityThreshold": {
82
+
"type": "string",
83
+
"enum": [
84
+
"low",
85
+
"medium",
86
+
"high",
87
+
"critical"
88
+
],
89
+
"default": "low",
90
+
"markdownDescription": "Lowest severity that produces a diagnostic. Findings below this level are dropped on the client side so the gutter / Problems panel only carries the cuts you care about. Mirrors the CLI's `--severity-threshold`. Default `low` matches CLI behavior; set to `high` or `critical` for a quieter editor."
0 commit comments