|
476 | 476 | "command": "codeQL.previewQueryHelp", |
477 | 477 | "title": "CodeQL: Preview Query Help" |
478 | 478 | }, |
| 479 | + { |
| 480 | + "command": "codeQL.previewQueryHelpContextExplorer", |
| 481 | + "title": "CodeQL: Preview Query Help" |
| 482 | + }, |
| 483 | + { |
| 484 | + "command": "codeQL.previewQueryHelpContextEditor", |
| 485 | + "title": "CodeQL: Preview Query Help" |
| 486 | + }, |
479 | 487 | { |
480 | 488 | "command": "codeQL.quickQuery", |
481 | 489 | "title": "CodeQL: Quick Query" |
|
828 | 836 | "title": "CodeQL: Go to QL Code", |
829 | 837 | "enablement": "codeql.hasQLSource" |
830 | 838 | }, |
| 839 | + { |
| 840 | + "command": "codeQL.gotoQLContextEditor", |
| 841 | + "title": "CodeQL: Go to QL Code", |
| 842 | + "enablement": "codeql.hasQLSource" |
| 843 | + }, |
831 | 844 | { |
832 | 845 | "command": "codeQL.openDataExtensionsEditor", |
833 | 846 | "title": "CodeQL: Open Data Extensions Editor" |
|
1117 | 1130 | "when": "resourceExtname == .qlref" |
1118 | 1131 | }, |
1119 | 1132 | { |
1120 | | - "command": "codeQL.previewQueryHelp", |
| 1133 | + "command": "codeQL.previewQueryHelpContextExplorer", |
1121 | 1134 | "group": "9_qlCommands", |
1122 | 1135 | "when": "resourceExtname == .qhelp && isWorkspaceTrusted" |
1123 | 1136 | } |
|
1203 | 1216 | "command": "codeQL.previewQueryHelp", |
1204 | 1217 | "when": "resourceExtname == .qhelp && isWorkspaceTrusted" |
1205 | 1218 | }, |
| 1219 | + { |
| 1220 | + "command": "codeQL.previewQueryHelpContextEditor", |
| 1221 | + "when": "false" |
| 1222 | + }, |
| 1223 | + { |
| 1224 | + "command": "codeQL.previewQueryHelpContextExplorer", |
| 1225 | + "when": "false" |
| 1226 | + }, |
1206 | 1227 | { |
1207 | 1228 | "command": "codeQL.setCurrentDatabase", |
1208 | 1229 | "when": "false" |
|
1466 | 1487 | { |
1467 | 1488 | "command": "codeQLTests.acceptOutputContextTestItem", |
1468 | 1489 | "when": "false" |
| 1490 | + }, |
| 1491 | + { |
| 1492 | + "command": "codeQL.gotoQLContextEditor", |
| 1493 | + "when": "false" |
1469 | 1494 | } |
1470 | 1495 | ], |
1471 | 1496 | "editor/context": [ |
|
1510 | 1535 | "when": "resourceExtname == .qlref" |
1511 | 1536 | }, |
1512 | 1537 | { |
1513 | | - "command": "codeQL.previewQueryHelp", |
| 1538 | + "command": "codeQL.previewQueryHelpContextEditor", |
1514 | 1539 | "when": "resourceExtname == .qhelp && isWorkspaceTrusted" |
1515 | 1540 | }, |
1516 | 1541 | { |
1517 | | - "command": "codeQL.gotoQL", |
| 1542 | + "command": "codeQL.gotoQLContextEditor", |
1518 | 1543 | "when": "editorLangId == ql-summary && config.codeQL.canary" |
1519 | 1544 | } |
1520 | 1545 | ] |
|
0 commit comments