|
4 | 4 | "description": "CodeQL for Visual Studio Code", |
5 | 5 | "author": "GitHub", |
6 | 6 | "private": true, |
7 | | - "version": "1.8.0", |
| 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", |
|
239 | 224 | "default": true, |
240 | 225 | "description": "Enable the 'Quick Evaluation' CodeLens." |
241 | 226 | }, |
| 227 | + "codeQL.runningQueries.useExtensionPacks": { |
| 228 | + "type": "string", |
| 229 | + "default": "none", |
| 230 | + "enum": [ |
| 231 | + "none", |
| 232 | + "all" |
| 233 | + ], |
| 234 | + "enumDescriptions": [ |
| 235 | + "Do not use extension packs.", |
| 236 | + "Use all extension packs found in the workspace." |
| 237 | + ], |
| 238 | + "description": "Choose whether or not to run queries using extension packs. Requires CodeQL CLI v2.12.3 or later." |
| 239 | + }, |
242 | 240 | "codeQL.resultsDisplay.pageSize": { |
243 | 241 | "type": "integer", |
244 | 242 | "default": 200, |
|
322 | 320 | "command": "codeQL.runVariantAnalysis", |
323 | 321 | "title": "CodeQL: Run Variant Analysis" |
324 | 322 | }, |
| 323 | + { |
| 324 | + "command": "codeQL.runVariantAnalysisContextEditor", |
| 325 | + "title": "CodeQL: Run Variant Analysis" |
| 326 | + }, |
325 | 327 | { |
326 | 328 | "command": "codeQL.exportSelectedVariantAnalysisResults", |
327 | 329 | "title": "CodeQL: Export Variant Analysis Results" |
|
334 | 336 | "command": "codeQL.quickEval", |
335 | 337 | "title": "CodeQL: Quick Evaluation" |
336 | 338 | }, |
| 339 | + { |
| 340 | + "command": "codeQL.quickEvalContextEditor", |
| 341 | + "title": "CodeQL: Quick Evaluation" |
| 342 | + }, |
337 | 343 | { |
338 | 344 | "command": "codeQL.openReferencedFile", |
339 | 345 | "title": "CodeQL: Open Referenced File" |
340 | 346 | }, |
| 347 | + { |
| 348 | + "command": "codeQL.openReferencedFileContextEditor", |
| 349 | + "title": "CodeQL: Open Referenced File" |
| 350 | + }, |
| 351 | + { |
| 352 | + "command": "codeQL.openReferencedFileContextExplorer", |
| 353 | + "title": "CodeQL: Open Referenced File" |
| 354 | + }, |
341 | 355 | { |
342 | 356 | "command": "codeQL.previewQueryHelp", |
343 | 357 | "title": "CodeQL: Preview Query Help" |
|
433 | 447 | "command": "codeQL.viewAst", |
434 | 448 | "title": "CodeQL: View AST" |
435 | 449 | }, |
| 450 | + { |
| 451 | + "command": "codeQL.viewAstContextExplorer", |
| 452 | + "title": "CodeQL: View AST" |
| 453 | + }, |
| 454 | + { |
| 455 | + "command": "codeQL.viewAstContextEditor", |
| 456 | + "title": "CodeQL: View AST" |
| 457 | + }, |
436 | 458 | { |
437 | 459 | "command": "codeQL.viewCfg", |
438 | 460 | "title": "CodeQL: View CFG" |
439 | 461 | }, |
| 462 | + { |
| 463 | + "command": "codeQL.viewCfgContextExplorer", |
| 464 | + "title": "CodeQL: View CFG" |
| 465 | + }, |
| 466 | + { |
| 467 | + "command": "codeQL.viewCfgContextEditor", |
| 468 | + "title": "CodeQL: View CFG" |
| 469 | + }, |
440 | 470 | { |
441 | 471 | "command": "codeQL.upgradeCurrentDatabase", |
442 | 472 | "title": "CodeQL: Upgrade Current Database" |
|
825 | 855 | { |
826 | 856 | "command": "codeQLQueryHistory.removeHistoryItem", |
827 | 857 | "group": "7_queryHistory@0", |
828 | | - "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
| 858 | + "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
829 | 859 | }, |
830 | 860 | { |
831 | 861 | "command": "codeQLQueryHistory.removeHistoryItem", |
832 | 862 | "group": "inline", |
833 | | - "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
| 863 | + "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
834 | 864 | }, |
835 | 865 | { |
836 | 866 | "command": "codeQLQueryHistory.renameItem", |
|
930 | 960 | "when": "resourceScheme == codeql-zip-archive || explorerResourceIsFolder || resourceExtname == .zip" |
931 | 961 | }, |
932 | 962 | { |
933 | | - "command": "codeQL.viewAst", |
| 963 | + "command": "codeQL.viewAstContextExplorer", |
934 | 964 | "group": "9_qlCommands", |
935 | 965 | "when": "resourceScheme == codeql-zip-archive && !explorerResourceIsFolder && !listMultiSelection" |
936 | 966 | }, |
937 | 967 | { |
938 | | - "command": "codeQL.viewCfg", |
| 968 | + "command": "codeQL.viewCfgContextExplorer", |
939 | 969 | "group": "9_qlCommands", |
940 | 970 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
941 | 971 | }, |
|
945 | 975 | "when": "resourceScheme != codeql-zip-archive" |
946 | 976 | }, |
947 | 977 | { |
948 | | - "command": "codeQL.openReferencedFile", |
| 978 | + "command": "codeQL.openReferencedFileContextExplorer", |
949 | 979 | "group": "9_qlCommands", |
950 | 980 | "when": "resourceExtname == .qlref" |
951 | 981 | }, |
|
981 | 1011 | "when": "editorLangId == ql && resourceExtname == .ql" |
982 | 1012 | }, |
983 | 1013 | { |
984 | | - "command": "codeQL.exportSelectedVariantAnalysisResults" |
| 1014 | + "command": "codeQL.runVariantAnalysisContextEditor", |
| 1015 | + "when": "false" |
985 | 1016 | }, |
986 | 1017 | { |
987 | 1018 | "command": "codeQL.runQueries", |
|
991 | 1022 | "command": "codeQL.quickEval", |
992 | 1023 | "when": "editorLangId == ql" |
993 | 1024 | }, |
| 1025 | + { |
| 1026 | + "command": "codeQL.quickEvalContextEditor", |
| 1027 | + "when": "false" |
| 1028 | + }, |
994 | 1029 | { |
995 | 1030 | "command": "codeQL.openReferencedFile", |
996 | 1031 | "when": "resourceExtname == .qlref" |
997 | 1032 | }, |
| 1033 | + { |
| 1034 | + "command": "codeQL.openReferencedFileContextEditor", |
| 1035 | + "when": "false" |
| 1036 | + }, |
| 1037 | + { |
| 1038 | + "command": "codeQL.openReferencedFileContextExplorer", |
| 1039 | + "when": "false" |
| 1040 | + }, |
998 | 1041 | { |
999 | 1042 | "command": "codeQL.previewQueryHelp", |
1000 | 1043 | "when": "resourceExtname == .qhelp && isWorkspaceTrusted" |
|
1007 | 1050 | "command": "codeQL.viewAst", |
1008 | 1051 | "when": "resourceScheme == codeql-zip-archive" |
1009 | 1052 | }, |
| 1053 | + { |
| 1054 | + "command": "codeQL.viewAstContextEditor", |
| 1055 | + "when": "false" |
| 1056 | + }, |
| 1057 | + { |
| 1058 | + "command": "codeQL.viewAstContextExplorer", |
| 1059 | + "when": "false" |
| 1060 | + }, |
1010 | 1061 | { |
1011 | 1062 | "command": "codeQL.viewCfg", |
1012 | 1063 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
1013 | 1064 | }, |
| 1065 | + { |
| 1066 | + "command": "codeQL.viewCfgContextExplorer", |
| 1067 | + "when": "false" |
| 1068 | + }, |
| 1069 | + { |
| 1070 | + "command": "codeQL.viewCfgContextEditor", |
| 1071 | + "when": "false" |
| 1072 | + }, |
1014 | 1073 | { |
1015 | 1074 | "command": "codeQLVariantAnalysisRepositories.openConfigFile", |
1016 | 1075 | "when": "false" |
|
1234 | 1293 | "when": "editorLangId == ql && resourceExtname == .ql" |
1235 | 1294 | }, |
1236 | 1295 | { |
1237 | | - "command": "codeQL.runVariantAnalysis", |
| 1296 | + "command": "codeQL.runVariantAnalysisContextEditor", |
1238 | 1297 | "when": "editorLangId == ql && resourceExtname == .ql" |
1239 | 1298 | }, |
1240 | 1299 | { |
1241 | | - "command": "codeQL.viewAst", |
| 1300 | + "command": "codeQL.viewAstContextEditor", |
1242 | 1301 | "when": "resourceScheme == codeql-zip-archive" |
1243 | 1302 | }, |
1244 | 1303 | { |
1245 | | - "command": "codeQL.viewCfg", |
| 1304 | + "command": "codeQL.viewCfgContextEditor", |
1246 | 1305 | "when": "resourceScheme == codeql-zip-archive && config.codeQL.canary" |
1247 | 1306 | }, |
1248 | 1307 | { |
1249 | | - "command": "codeQL.quickEval", |
| 1308 | + "command": "codeQL.quickEvalContextEditor", |
1250 | 1309 | "when": "editorLangId == ql" |
1251 | 1310 | }, |
1252 | 1311 | { |
1253 | | - "command": "codeQL.openReferencedFile", |
| 1312 | + "command": "codeQL.openReferencedFileContextEditor", |
1254 | 1313 | "when": "resourceExtname == .qlref" |
1255 | 1314 | }, |
1256 | 1315 | { |
|
1439 | 1498 | "@vscode/vsce": "^2.15.0", |
1440 | 1499 | "ansi-colors": "^4.1.1", |
1441 | 1500 | "applicationinsights": "^2.3.5", |
1442 | | - "babel-loader": "^8.2.5", |
1443 | 1501 | "cross-env": "^7.0.3", |
1444 | 1502 | "css-loader": "~3.1.0", |
1445 | 1503 | "del": "^6.0.0", |
|
0 commit comments