|
4 | 4 | "description": "CodeQL for Visual Studio Code", |
5 | 5 | "author": "GitHub", |
6 | 6 | "private": true, |
7 | | - "version": "1.7.12", |
| 7 | + "version": "1.8.1", |
8 | 8 | "publisher": "GitHub", |
9 | 9 | "license": "MIT", |
10 | 10 | "icon": "media/VS-marketplace-CodeQL-icon.png", |
|
44 | 44 | "onView:test-explorer", |
45 | 45 | "onCommand:codeQL.checkForUpdatesToCLI", |
46 | 46 | "onCommand:codeQL.authenticateToGitHub", |
47 | | - "onCommand:codeQLDatabases.chooseDatabaseFolder", |
48 | | - "onCommand:codeQLDatabases.chooseDatabaseArchive", |
49 | | - "onCommand:codeQLDatabases.chooseDatabaseInternet", |
50 | | - "onCommand:codeQLDatabases.chooseDatabaseGithub", |
51 | | - "onCommand:codeQL.setCurrentDatabase", |
52 | 47 | "onCommand:codeQL.viewAst", |
53 | 48 | "onCommand:codeQL.viewCfg", |
54 | 49 | "onCommand:codeQL.openReferencedFile", |
|
57 | 52 | "onCommand:codeQL.chooseDatabaseArchive", |
58 | 53 | "onCommand:codeQL.chooseDatabaseInternet", |
59 | 54 | "onCommand:codeQL.chooseDatabaseGithub", |
60 | | - "onCommand:codeQLDatabases.chooseDatabase", |
61 | | - "onCommand:codeQLDatabases.setCurrentDatabase", |
62 | | - "onCommand:codeQLVariantAnalysisRepositories.openConfigFile", |
63 | | - "onCommand:codeQLVariantAnalysisRepositories.addNewDatabase", |
64 | | - "onCommand:codeQLVariantAnalysisRepositories.addNewList", |
65 | | - "onCommand:codeQLVariantAnalysisRepositories.setSelectedItem", |
66 | | - "onCommand:codeQLVariantAnalysisRepositories.setSelectedItemContextMenu", |
67 | | - "onCommand:codeQLVariantAnalysisRepositories.renameItemContextMenu", |
68 | | - "onCommand:codeQLVariantAnalysisRepositories.openOnGitHubContextMenu", |
69 | | - "onCommand:codeQLVariantAnalysisRepositories.removeItemContextMenu", |
70 | 55 | "onCommand:codeQL.quickQuery", |
71 | 56 | "onCommand:codeQL.restartQueryServer", |
72 | 57 | "onWebviewPanel:resultsView", |
|
322 | 307 | "command": "codeQL.runVariantAnalysis", |
323 | 308 | "title": "CodeQL: Run Variant Analysis" |
324 | 309 | }, |
| 310 | + { |
| 311 | + "command": "codeQL.runVariantAnalysisContextEditor", |
| 312 | + "title": "CodeQL: Run Variant Analysis" |
| 313 | + }, |
325 | 314 | { |
326 | 315 | "command": "codeQL.exportSelectedVariantAnalysisResults", |
327 | 316 | "title": "CodeQL: Export Variant Analysis Results" |
|
334 | 323 | "command": "codeQL.quickEval", |
335 | 324 | "title": "CodeQL: Quick Evaluation" |
336 | 325 | }, |
| 326 | + { |
| 327 | + "command": "codeQL.quickEvalContextEditor", |
| 328 | + "title": "CodeQL: Quick Evaluation" |
| 329 | + }, |
337 | 330 | { |
338 | 331 | "command": "codeQL.openReferencedFile", |
339 | 332 | "title": "CodeQL: Open Referenced File" |
340 | 333 | }, |
| 334 | + { |
| 335 | + "command": "codeQL.openReferencedFileContextEditor", |
| 336 | + "title": "CodeQL: Open Referenced File" |
| 337 | + }, |
| 338 | + { |
| 339 | + "command": "codeQL.openReferencedFileContextExplorer", |
| 340 | + "title": "CodeQL: Open Referenced File" |
| 341 | + }, |
341 | 342 | { |
342 | 343 | "command": "codeQL.previewQueryHelp", |
343 | 344 | "title": "CodeQL: Preview Query Help" |
|
433 | 434 | "command": "codeQL.viewAst", |
434 | 435 | "title": "CodeQL: View AST" |
435 | 436 | }, |
| 437 | + { |
| 438 | + "command": "codeQL.viewAstContextExplorer", |
| 439 | + "title": "CodeQL: View AST" |
| 440 | + }, |
| 441 | + { |
| 442 | + "command": "codeQL.viewAstContextEditor", |
| 443 | + "title": "CodeQL: View AST" |
| 444 | + }, |
436 | 445 | { |
437 | 446 | "command": "codeQL.viewCfg", |
438 | 447 | "title": "CodeQL: View CFG" |
439 | 448 | }, |
| 449 | + { |
| 450 | + "command": "codeQL.viewCfgContextExplorer", |
| 451 | + "title": "CodeQL: View CFG" |
| 452 | + }, |
| 453 | + { |
| 454 | + "command": "codeQL.viewCfgContextEditor", |
| 455 | + "title": "CodeQL: View CFG" |
| 456 | + }, |
440 | 457 | { |
441 | 458 | "command": "codeQL.upgradeCurrentDatabase", |
442 | 459 | "title": "CodeQL: Upgrade Current Database" |
|
825 | 842 | { |
826 | 843 | "command": "codeQLQueryHistory.removeHistoryItem", |
827 | 844 | "group": "7_queryHistory@0", |
828 | | - "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
| 845 | + "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
829 | 846 | }, |
830 | 847 | { |
831 | 848 | "command": "codeQLQueryHistory.removeHistoryItem", |
832 | 849 | "group": "inline", |
833 | | - "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
| 850 | + "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
834 | 851 | }, |
835 | 852 | { |
836 | 853 | "command": "codeQLQueryHistory.renameItem", |
|
930 | 947 | "when": "resourceScheme == codeql-zip-archive || explorerResourceIsFolder || resourceExtname == .zip" |
931 | 948 | }, |
932 | 949 | { |
933 | | - "command": "codeQL.viewAst", |
| 950 | + "command": "codeQL.viewAstContextExplorer", |
934 | 951 | "group": "9_qlCommands", |
935 | 952 | "when": "resourceScheme == codeql-zip-archive && !explorerResourceIsFolder && !listMultiSelection" |
936 | 953 | }, |
937 | 954 | { |
938 | | - "command": "codeQL.viewCfg", |
| 955 | + "command": "codeQL.viewCfgContextExplorer", |
939 | 956 | "group": "9_qlCommands", |
940 | 957 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
941 | 958 | }, |
|
945 | 962 | "when": "resourceScheme != codeql-zip-archive" |
946 | 963 | }, |
947 | 964 | { |
948 | | - "command": "codeQL.openReferencedFile", |
| 965 | + "command": "codeQL.openReferencedFileContextExplorer", |
949 | 966 | "group": "9_qlCommands", |
950 | 967 | "when": "resourceExtname == .qlref" |
951 | 968 | }, |
|
981 | 998 | "when": "editorLangId == ql && resourceExtname == .ql" |
982 | 999 | }, |
983 | 1000 | { |
984 | | - "command": "codeQL.exportSelectedVariantAnalysisResults" |
| 1001 | + "command": "codeQL.runVariantAnalysisContextEditor", |
| 1002 | + "when": "false" |
985 | 1003 | }, |
986 | 1004 | { |
987 | 1005 | "command": "codeQL.runQueries", |
|
991 | 1009 | "command": "codeQL.quickEval", |
992 | 1010 | "when": "editorLangId == ql" |
993 | 1011 | }, |
| 1012 | + { |
| 1013 | + "command": "codeQL.quickEvalContextEditor", |
| 1014 | + "when": "false" |
| 1015 | + }, |
994 | 1016 | { |
995 | 1017 | "command": "codeQL.openReferencedFile", |
996 | 1018 | "when": "resourceExtname == .qlref" |
997 | 1019 | }, |
| 1020 | + { |
| 1021 | + "command": "codeQL.openReferencedFileContextEditor", |
| 1022 | + "when": "false" |
| 1023 | + }, |
| 1024 | + { |
| 1025 | + "command": "codeQL.openReferencedFileContextExplorer", |
| 1026 | + "when": "false" |
| 1027 | + }, |
998 | 1028 | { |
999 | 1029 | "command": "codeQL.previewQueryHelp", |
1000 | 1030 | "when": "resourceExtname == .qhelp && isWorkspaceTrusted" |
|
1007 | 1037 | "command": "codeQL.viewAst", |
1008 | 1038 | "when": "resourceScheme == codeql-zip-archive" |
1009 | 1039 | }, |
| 1040 | + { |
| 1041 | + "command": "codeQL.viewAstContextEditor", |
| 1042 | + "when": "false" |
| 1043 | + }, |
| 1044 | + { |
| 1045 | + "command": "codeQL.viewAstContextExplorer", |
| 1046 | + "when": "false" |
| 1047 | + }, |
1010 | 1048 | { |
1011 | 1049 | "command": "codeQL.viewCfg", |
1012 | 1050 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
1013 | 1051 | }, |
| 1052 | + { |
| 1053 | + "command": "codeQL.viewCfgContextExplorer", |
| 1054 | + "when": "false" |
| 1055 | + }, |
| 1056 | + { |
| 1057 | + "command": "codeQL.viewCfgContextEditor", |
| 1058 | + "when": "false" |
| 1059 | + }, |
1014 | 1060 | { |
1015 | 1061 | "command": "codeQLVariantAnalysisRepositories.openConfigFile", |
1016 | 1062 | "when": "false" |
|
1234 | 1280 | "when": "editorLangId == ql && resourceExtname == .ql" |
1235 | 1281 | }, |
1236 | 1282 | { |
1237 | | - "command": "codeQL.runVariantAnalysis", |
| 1283 | + "command": "codeQL.runVariantAnalysisContextEditor", |
1238 | 1284 | "when": "editorLangId == ql && resourceExtname == .ql" |
1239 | 1285 | }, |
1240 | 1286 | { |
1241 | | - "command": "codeQL.viewAst", |
| 1287 | + "command": "codeQL.viewAstContextEditor", |
1242 | 1288 | "when": "resourceScheme == codeql-zip-archive" |
1243 | 1289 | }, |
1244 | 1290 | { |
1245 | | - "command": "codeQL.viewCfg", |
| 1291 | + "command": "codeQL.viewCfgContextEditor", |
1246 | 1292 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
1247 | 1293 | }, |
1248 | 1294 | { |
1249 | | - "command": "codeQL.quickEval", |
| 1295 | + "command": "codeQL.quickEvalContextEditor", |
1250 | 1296 | "when": "editorLangId == ql" |
1251 | 1297 | }, |
1252 | 1298 | { |
1253 | | - "command": "codeQL.openReferencedFile", |
| 1299 | + "command": "codeQL.openReferencedFileContextEditor", |
1254 | 1300 | "when": "resourceExtname == .qlref" |
1255 | 1301 | }, |
1256 | 1302 | { |
|
0 commit comments