File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ export type VariantAnalysisCommands = {
8686 "codeQL.openVariantAnalysisLogs" : (
8787 variantAnalysisId : number ,
8888 ) => Promise < void > ;
89+ "codeQL.openVariantAnalysisView" : (
90+ variantAnalysisId : number ,
91+ ) => Promise < void > ;
8992 "codeQL.runVariantAnalysis" : ( uri ?: Uri ) => Promise < void > ;
9093 "codeQL.runVariantAnalysisContextEditor" : ( uri ?: Uri ) => Promise < void > ;
9194} ;
Original file line number Diff line number Diff line change @@ -1101,16 +1101,6 @@ async function activateWithInstalledDistribution(
11011101 } ) ,
11021102 ) ;
11031103
1104- // The "openVariantAnalysisView" command is internal-only.
1105- ctx . subscriptions . push (
1106- commandRunner (
1107- "codeQL.openVariantAnalysisView" ,
1108- async ( variantAnalysisId : number ) => {
1109- await variantAnalysisManager . showView ( variantAnalysisId ) ;
1110- } ,
1111- ) ,
1112- ) ;
1113-
11141104 ctx . subscriptions . push (
11151105 commandRunner ( "codeQL.openReferencedFile" , async ( selectedQuery : Uri ) => {
11161106 await openReferencedFile ( qs , cliServer , selectedQuery ) ;
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ export class VariantAnalysisManager
138138 "codeQL.loadVariantAnalysisRepoResults" : this . loadResults . bind ( this ) ,
139139 "codeQL.monitorVariantAnalysis" : this . monitorVariantAnalysis . bind ( this ) ,
140140 "codeQL.openVariantAnalysisLogs" : this . openVariantAnalysisLogs . bind ( this ) ,
141+ "codeQL.openVariantAnalysisView" : this . showView . bind ( this ) ,
141142 "codeQL.runVariantAnalysis" :
142143 this . runVariantAnalysisFromCommand . bind ( this ) ,
143144 // Since we are tracking extension usage through commands, this command mirrors the "codeQL.runVariantAnalysis" command
You can’t perform that action at this time.
0 commit comments