File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 549549 "command" : " codeQL.runVariantAnalysisContextExplorer" ,
550550 "title" : " CodeQL: Run Variant Analysis"
551551 },
552+ {
553+ "command" : " codeQL.runVariantAnalysisPublishedPack" ,
554+ "title" : " CodeQL: Run Variant Analysis against published pack"
555+ },
552556 {
553557 "command" : " codeQL.exportSelectedVariantAnalysisResults" ,
554558 "title" : " CodeQL: Export Variant Analysis Results"
14101414 "command" : " codeQL.runVariantAnalysisContextExplorer" ,
14111415 "when" : " false"
14121416 },
1417+ {
1418+ "command" : " codeQL.runVariantAnalysisPublishedPack" ,
1419+ "when" : " config.codeQL.canary && config.codeQL.variantAnalysis.multiQuery"
1420+ },
14131421 {
14141422 "command" : " codeQL.runVariantAnalysisContextEditor" ,
14151423 "when" : " false"
Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ export type VariantAnalysisCommands = {
279279 "codeQL.runVariantAnalysisContextEditor" : ( uri ?: Uri ) => Promise < void > ;
280280 "codeQL.runVariantAnalysisContextExplorer" : ExplorerSelectionCommandFunction < Uri > ;
281281 "codeQLQueries.runVariantAnalysisContextMenu" : TreeViewContextSingleSelectionCommandFunction < QueryTreeViewItem > ;
282+ "codeQL.runVariantAnalysisPublishedPack" : ( ) => Promise < void > ;
282283} ;
283284
284285export type DatabasePanelCommands = {
Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ export class VariantAnalysisManager
175175 ) ,
176176 "codeQLQueries.runVariantAnalysisContextMenu" :
177177 this . runVariantAnalysisFromQueriesPanel . bind ( this ) ,
178+ "codeQL.runVariantAnalysisPublishedPack" :
179+ this . runVariantAnalysisFromPublishedPack . bind ( this ) ,
178180 } ;
179181 }
180182
@@ -214,6 +216,10 @@ export class VariantAnalysisManager
214216 }
215217 }
216218
219+ private async runVariantAnalysisFromPublishedPack ( ) : Promise < void > {
220+ throw new Error ( "Command not yet implemented" ) ;
221+ }
222+
217223 public async runVariantAnalysis (
218224 uri : Uri | undefined ,
219225 progress : ProgressCallback ,
You can’t perform that action at this time.
0 commit comments