File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export type SingleSelectionCommandFunction<Item> = (
3333
3434// Builtin commands where the implementation is provided by VS Code and not by this extension.
3535// See https://code.visualstudio.com/api/references/commands
36- export type VSCodeCommands = {
36+ export type BuiltInVsCodeCommands = {
3737 "markdown.showPreviewToSide" : ( uri : Uri ) => Promise < void > ;
3838 "workbench.action.reloadWindow" : ( ) => Promise < void > ;
3939} ;
@@ -220,7 +220,7 @@ export type MockGitHubApiServerCommands = {
220220} ;
221221
222222// All commands where the implementation is provided by this extension.
223- export type AllCodeQLCommands = BaseCommands &
223+ export type AllExtensionCommands = BaseCommands &
224224 QueryHistoryCommands &
225225 LocalDatabasesCommands &
226226 VariantAnalysisCommands &
@@ -232,7 +232,7 @@ export type AllCodeQLCommands = BaseCommands &
232232 SummaryLanguageSupportCommands &
233233 MockGitHubApiServerCommands ;
234234
235- export type AllCommands = AllCodeQLCommands & VSCodeCommands ;
235+ export type AllCommands = AllExtensionCommands & BuiltInVsCodeCommands ;
236236
237237export type AppCommandManager = CommandManager < AllCommands > ;
238238
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ import { redactableError } from "./pure/errors";
112112import { QueryHistoryDirs } from "./query-history/query-history-dirs" ;
113113import { DirResult } from "tmp" ;
114114import {
115- AllCodeQLCommands ,
115+ AllExtensionCommands ,
116116 BaseCommands ,
117117 QueryServerCommands ,
118118} from "./common/commands" ;
@@ -837,7 +837,7 @@ async function activateWithInstalledDistribution(
837837
838838 void extLogger . log ( "Registering top-level command palette commands." ) ;
839839
840- const allCommands : AllCodeQLCommands = {
840+ const allCommands : AllExtensionCommands = {
841841 ...getCommands ( cliServer , qs ) ,
842842 ...localQueryResultsView . getCommands ( ) ,
843843 ...qhm . getCommands ( ) ,
@@ -864,7 +864,7 @@ async function activateWithInstalledDistribution(
864864 } ;
865865
866866 for ( const [ commandName , command ] of Object . entries ( allCommands ) ) {
867- app . commands . register ( commandName as keyof AllCodeQLCommands , command ) ;
867+ app . commands . register ( commandName as keyof AllExtensionCommands , command ) ;
868868 }
869869
870870 const queryServerCommands : QueryServerCommands = {
You can’t perform that action at this time.
0 commit comments