|
351 | 351 | "command": "codeQL.runQueryContextEditor", |
352 | 352 | "title": "CodeQL: Run Query on Selected Database" |
353 | 353 | }, |
| 354 | + { |
| 355 | + "command": "codeQL.debugQuery", |
| 356 | + "title": "CodeQL: Debug Query" |
| 357 | + }, |
| 358 | + { |
| 359 | + "command": "codeQL.debugQueryContextEditor", |
| 360 | + "title": "CodeQL: Debug Query" |
| 361 | + }, |
| 362 | + { |
| 363 | + "command": "codeQL.startDebuggingSelection", |
| 364 | + "title": "CodeQL: Debug Selection" |
| 365 | + }, |
| 366 | + { |
| 367 | + "command": "codeQL.startDebuggingSelectionContextEditor", |
| 368 | + "title": "CodeQL: Debug Selection" |
| 369 | + }, |
| 370 | + { |
| 371 | + "command": "codeQL.continueDebuggingSelection", |
| 372 | + "title": "CodeQL: Debug Selection" |
| 373 | + }, |
| 374 | + { |
| 375 | + "command": "codeQL.continueDebuggingSelectionContextEditor", |
| 376 | + "title": "CodeQL: Debug Selection" |
| 377 | + }, |
354 | 378 | { |
355 | 379 | "command": "codeQL.runQueryOnMultipleDatabases", |
356 | 380 | "title": "CodeQL: Run Query on Multiple Databases" |
|
1072 | 1096 | "command": "codeQL.runQueryContextEditor", |
1073 | 1097 | "when": "false" |
1074 | 1098 | }, |
| 1099 | + { |
| 1100 | + "command": "codeQL.debugQuery", |
| 1101 | + "when": "config.codeQL.canary && editorLangId == ql && resourceExtname == .ql && !inDebugMode" |
| 1102 | + }, |
| 1103 | + { |
| 1104 | + "command": "codeQL.debugQueryContextEditor", |
| 1105 | + "when": "false" |
| 1106 | + }, |
| 1107 | + { |
| 1108 | + "command": "codeQL.startDebuggingSelection", |
| 1109 | + "when": "config.codeQL.canary && editorLangId == ql && debugState == inactive && debugConfigurationType == codeql" |
| 1110 | + }, |
| 1111 | + { |
| 1112 | + "command": "codeQL.startDebuggingSelectionContextEditor", |
| 1113 | + "when": "false" |
| 1114 | + }, |
| 1115 | + { |
| 1116 | + "command": "codeQL.continueDebuggingSelection", |
| 1117 | + "when": "config.codeQL.canary && editorLangId == ql && debugState == stopped && debugType == codeql" |
| 1118 | + }, |
| 1119 | + { |
| 1120 | + "command": "codeQL.continueDebuggingSelectionContextEditor", |
| 1121 | + "when": "false" |
| 1122 | + }, |
1075 | 1123 | { |
1076 | 1124 | "command": "codeQL.runQueryOnMultipleDatabases", |
1077 | 1125 | "when": "resourceLangId == ql && resourceExtname == .ql" |
|
1388 | 1436 | "editor/context": [ |
1389 | 1437 | { |
1390 | 1438 | "command": "codeQL.runQueryContextEditor", |
1391 | | - "when": "editorLangId == ql && resourceExtname == .ql" |
| 1439 | + "when": "editorLangId == ql && resourceExtname == .ql && !inDebugMode" |
1392 | 1440 | }, |
1393 | 1441 | { |
1394 | 1442 | "command": "codeQL.runQueryOnMultipleDatabasesContextEditor", |
|
1408 | 1456 | }, |
1409 | 1457 | { |
1410 | 1458 | "command": "codeQL.quickEvalContextEditor", |
1411 | | - "when": "editorLangId == ql" |
| 1459 | + "when": "editorLangId == ql && debugState == inactive" |
1412 | 1460 | }, |
1413 | 1461 | { |
1414 | | - "command": "codeQL.debug.quickEvalContextEditor", |
1415 | | - "when": "config.codeQL.canary && editorLangId == ql" |
| 1462 | + "command": "codeQL.debugQueryContextEditor", |
| 1463 | + "when": "config.codeQL.canary && editorLangId == ql && resourceExtname == .ql && !inDebugMode" |
| 1464 | + }, |
| 1465 | + { |
| 1466 | + "command": "codeQL.startDebuggingSelectionContextEditor", |
| 1467 | + "when": "config.codeQL.canary && editorLangId == ql && debugState == inactive && debugConfigurationType == codeql" |
| 1468 | + }, |
| 1469 | + { |
| 1470 | + "command": "codeQL.continueDebuggingSelectionContextEditor", |
| 1471 | + "when": "config.codeQL.canary && editorLangId == ql && debugState == stopped && debugType == codeql" |
1416 | 1472 | }, |
1417 | 1473 | { |
1418 | 1474 | "command": "codeQL.openReferencedFileContextEditor", |
|
0 commit comments