File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 544544 "title" : " CodeQL: Check for CLI Updates"
545545 },
546546 {
547- "command" : " codeQLQueryHistory.openQuery" ,
547+ "command" : " codeQLQueryHistory.openQueryTitleMenu" ,
548+ "title" : " View Query" ,
549+ "icon" : " $(edit)"
550+ },
551+ {
552+ "command" : " codeQLQueryHistory.openQueryContextMenu" ,
548553 "title" : " View Query" ,
549554 "icon" : " $(edit)"
550555 },
751756 "group" : " navigation"
752757 },
753758 {
754- "command" : " codeQLQueryHistory.openQuery " ,
759+ "command" : " codeQLQueryHistory.openQueryTitleMenu " ,
755760 "when" : " view == codeQLQueryHistory" ,
756761 "group" : " navigation"
757762 },
858863 "group" : " inline"
859864 },
860865 {
861- "command" : " codeQLQueryHistory.openQuery " ,
866+ "command" : " codeQLQueryHistory.openQueryContextMenu " ,
862867 "group" : " 2_queryHistory@0" ,
863868 "when" : " view == codeQLQueryHistory"
864869 },
11651170 "when" : " false"
11661171 },
11671172 {
1168- "command" : " codeQLQueryHistory.openQuery" ,
1173+ "command" : " codeQLQueryHistory.openQueryTitleMenu" ,
1174+ "when" : " false"
1175+ },
1176+ {
1177+ "command" : " codeQLQueryHistory.openQueryContextMenu" ,
11691178 "when" : " false"
11701179 },
11711180 {
Original file line number Diff line number Diff line change @@ -204,7 +204,13 @@ export class QueryHistoryManager extends DisposableObject {
204204 void extLogger . log ( "Registering query history panel commands." ) ;
205205 this . push (
206206 commandRunner (
207- "codeQLQueryHistory.openQuery" ,
207+ "codeQLQueryHistory.openQueryTitleMenu" ,
208+ this . handleOpenQuery . bind ( this ) ,
209+ ) ,
210+ ) ;
211+ this . push (
212+ commandRunner (
213+ "codeQLQueryHistory.openQueryContextMenu" ,
208214 this . handleOpenQuery . bind ( this ) ,
209215 ) ,
210216 ) ;
You can’t perform that action at this time.
0 commit comments