File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 828828 "title" : " CodeQL: Go to QL Code" ,
829829 "enablement" : " codeql.hasQLSource"
830830 },
831+ {
832+ "command" : " codeQL.gotoQLContextEditor" ,
833+ "title" : " CodeQL: Go to QL Code" ,
834+ "enablement" : " codeql.hasQLSource"
835+ },
831836 {
832837 "command" : " codeQL.openDataExtensionsEditor" ,
833838 "title" : " CodeQL: Open Data Extensions Editor"
14661471 {
14671472 "command" : " codeQLTests.acceptOutputContextTestItem" ,
14681473 "when" : " false"
1474+ },
1475+ {
1476+ "command" : " codeQL.gotoQLContextEditor" ,
1477+ "when" : " false"
14691478 }
14701479 ],
14711480 "editor/context" : [
15141523 "when" : " resourceExtname == .qhelp && isWorkspaceTrusted"
15151524 },
15161525 {
1517- "command" : " codeQL.gotoQL " ,
1526+ "command" : " codeQL.gotoQLContextEditor " ,
15181527 "when" : " editorLangId == ql-summary && config.codeQL.canary"
15191528 }
15201529 ]
Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ export type EvalLogViewerCommands = {
299299
300300export type SummaryLanguageSupportCommands = {
301301 "codeQL.gotoQL" : ( ) => Promise < void > ;
302+ "codeQL.gotoQLContextEditor" : ( ) => Promise < void > ;
302303} ;
303304
304305export type TestUICommands = {
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export class SummaryLanguageSupport extends DisposableObject {
7878 public getCommands ( ) : SummaryLanguageSupportCommands {
7979 return {
8080 "codeQL.gotoQL" : this . handleGotoQL . bind ( this ) ,
81+ "codeQL.gotoQLContextEditor" : this . handleGotoQL . bind ( this ) ,
8182 } ;
8283 }
8384
You can’t perform that action at this time.
0 commit comments