Skip to content

Commit f9224c2

Browse files
committed
Move command manager into commands folder
1 parent 3b15049 commit f9224c2

19 files changed

Lines changed: 24 additions & 24 deletions

extensions/typescript-language-features/src/utils/commandManager.ts renamed to extensions/typescript-language-features/src/commands/commandManager.ts

File renamed without changes.

extensions/typescript-language-features/src/commands/configurePlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import { Command } from '../utils/commandManager';
76
import { PluginManager } from '../utils/plugins';
7+
import { Command } from './commandManager';
88

99
export class ConfigurePluginCommand implements Command {
1010
public readonly id = '_typescript.configurePlugin';

extensions/typescript-language-features/src/commands/goToProjectConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
import * as vscode from 'vscode';
77
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
8-
import { Command } from '../utils/commandManager';
98
import { Lazy } from '../utils/lazy';
109
import { openProjectConfigForFile, ProjectType } from '../utils/tsconfig';
10+
import { Command } from './commandManager';
1111

1212
export class TypeScriptGoToProjectConfigCommand implements Command {
1313
public readonly id = 'typescript.goToProjectConfig';

extensions/typescript-language-features/src/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
7-
import { CommandManager } from '../utils/commandManager';
87
import { Lazy } from '../utils/lazy';
98
import { PluginManager } from '../utils/plugins';
9+
import { CommandManager } from './commandManager';
1010
import { ConfigurePluginCommand } from './configurePlugin';
1111
import { JavaScriptGoToProjectConfigCommand, TypeScriptGoToProjectConfigCommand } from './goToProjectConfiguration';
1212
import { LearnMoreAboutRefactoringsCommand } from './learnMoreAboutRefactorings';

extensions/typescript-language-features/src/commands/learnMoreAboutRefactorings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import * as vscode from 'vscode';
7-
import { Command } from '../utils/commandManager';
87
import { isTypeScriptDocument } from '../utils/languageModeIds';
8+
import { Command } from './commandManager';
99

1010
export class LearnMoreAboutRefactoringsCommand implements Command {
1111
public static readonly id = '_typescript.learnMoreAboutRefactorings';

extensions/typescript-language-features/src/commands/openTsServerLog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
7-
import { Command } from '../utils/commandManager';
87
import { Lazy } from '../utils/lazy';
8+
import { Command } from './commandManager';
99

1010
export class OpenTsServerLogCommand implements Command {
1111
public readonly id = 'typescript.openTsServerLog';

extensions/typescript-language-features/src/commands/reloadProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
7-
import { Command } from '../utils/commandManager';
87
import { Lazy } from '../utils/lazy';
8+
import { Command } from './commandManager';
99

1010
export class ReloadTypeScriptProjectsCommand implements Command {
1111
public readonly id = 'typescript.reloadProjects';

extensions/typescript-language-features/src/commands/restartTsServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
7-
import { Command } from '../utils/commandManager';
87
import { Lazy } from '../utils/lazy';
8+
import { Command } from './commandManager';
99

1010
export class RestartTsServerCommand implements Command {
1111
public readonly id = 'typescript.restartTsServer';

extensions/typescript-language-features/src/commands/selectTypeScriptVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
7-
import { Command } from '../utils/commandManager';
87
import { Lazy } from '../utils/lazy';
8+
import { Command } from './commandManager';
99

1010
export class SelectTypeScriptVersionCommand implements Command {
1111
public readonly id = 'typescript.selectTypeScriptVersion';

extensions/typescript-language-features/src/extension.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { noopLogDirectoryProvider } from './tsServer/logDirectoryProvider';
1313
import { ITypeScriptVersionProvider, TypeScriptVersion, TypeScriptVersionSource } from './tsServer/versionProvider';
1414
import { WorkerServerProcess } from './tsServer/serverProcess.browser';
1515
import API from './utils/api';
16-
import { CommandManager } from './utils/commandManager';
16+
import { CommandManager } from './commands/commandManager';
1717
import { TypeScriptServiceConfiguration } from './utils/configuration';
1818
import { PluginManager } from './utils/plugins';
1919

0 commit comments

Comments
 (0)