Skip to content

Commit cb4f33c

Browse files
authored
make the lightbulb show up for 'qdk command error' (#2460)
Something changed in VS Code where this error is no longer dismissable by clicking the lightbulb - this fixes it.
1 parent 58ca134 commit cb4f33c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vscode/src/diagnostics.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ function startCommandDiagnostics(): vscode.Disposable[] {
104104
if (commandErrors.length > 0) {
105105
const action = new vscode.CodeAction(
106106
"Dismiss errors for the last run QDK command",
107+
vscode.CodeActionKind.QuickFix, // makes the lightbulb reliably show up
107108
);
108109
action.diagnostics = commandErrors;
109110
action.command = {

0 commit comments

Comments
 (0)