From 66a1df3f284c33d7e6ce1299ee3cf7cc4ba42676 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 23 Feb 2018 17:00:07 +0100 Subject: [PATCH] Move CommandService implementation up to /workbench/ (#44281) --- src/vs/workbench/electron-browser/shell.ts | 2 +- .../services}/commands/common/commandService.ts | 0 .../services/commands/test/common}/commandService.test.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/vs/{platform => workbench/services}/commands/common/commandService.ts (100%) rename src/vs/{platform/commands/test => workbench/services/commands/test/common}/commandService.test.ts (98%) diff --git a/src/vs/workbench/electron-browser/shell.ts b/src/vs/workbench/electron-browser/shell.ts index e4ac4c49e2a..2fbca44bee3 100644 --- a/src/vs/workbench/electron-browser/shell.ts +++ b/src/vs/workbench/electron-browser/shell.ts @@ -55,7 +55,7 @@ import { IMarkerService } from 'vs/platform/markers/common/markers'; import { IEnvironmentService } from 'vs/platform/environment/common/environment'; import { ISearchService } from 'vs/platform/search/common/search'; import { ICommandService } from 'vs/platform/commands/common/commands'; -import { CommandService } from 'vs/platform/commands/common/commandService'; +import { CommandService } from 'vs/workbench/services/commands/common/commandService'; import { IWorkspaceContextService, WorkbenchState } from 'vs/platform/workspace/common/workspace'; import { IExtensionService } from 'vs/platform/extensions/common/extensions'; import { WorkbenchModeServiceImpl } from 'vs/workbench/services/mode/common/workbenchModeService'; diff --git a/src/vs/platform/commands/common/commandService.ts b/src/vs/workbench/services/commands/common/commandService.ts similarity index 100% rename from src/vs/platform/commands/common/commandService.ts rename to src/vs/workbench/services/commands/common/commandService.ts diff --git a/src/vs/platform/commands/test/commandService.test.ts b/src/vs/workbench/services/commands/test/common/commandService.test.ts similarity index 98% rename from src/vs/platform/commands/test/commandService.test.ts rename to src/vs/workbench/services/commands/test/common/commandService.test.ts index 1a355d9eed5..32fa1903652 100644 --- a/src/vs/platform/commands/test/commandService.test.ts +++ b/src/vs/workbench/services/commands/test/common/commandService.test.ts @@ -8,7 +8,7 @@ import * as assert from 'assert'; import { IDisposable } from 'vs/base/common/lifecycle'; import { TPromise } from 'vs/base/common/winjs.base'; import { CommandsRegistry } from 'vs/platform/commands/common/commands'; -import { CommandService } from 'vs/platform/commands/common/commandService'; +import { CommandService } from 'vs/workbench/services/commands/common/commandService'; import { IExtensionService, ExtensionPointContribution, IExtensionDescription, ProfileSession } from 'vs/platform/extensions/common/extensions'; import { InstantiationService } from 'vs/platform/instantiation/common/instantiationService'; import { IExtensionPoint } from 'vs/platform/extensions/common/extensionsRegistry'; -- GitLab