From 4a3570b38f3e8548eb20e8e7351cce502b610883 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 11 Jul 2019 09:52:01 +0200 Subject: [PATCH] :lipstick: clipboard service --- src/vs/platform/clipboard/browser/clipboardService.ts | 4 ++-- src/vs/workbench/workbench.web.main.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/platform/clipboard/browser/clipboardService.ts b/src/vs/platform/clipboard/browser/clipboardService.ts index cb546ad5b8e..9502c4bdc97 100644 --- a/src/vs/platform/clipboard/browser/clipboardService.ts +++ b/src/vs/platform/clipboard/browser/clipboardService.ts @@ -8,7 +8,7 @@ import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService import { URI } from 'vs/base/common/uri'; import { ServiceIdentifier } from 'vs/platform/instantiation/common/instantiation'; -export class ClipboardService implements IClipboardService { +export class BrowserClipboardService implements IClipboardService { _serviceBrand: ServiceIdentifier; @@ -46,4 +46,4 @@ export class ClipboardService implements IClipboardService { } } -registerSingleton(IClipboardService, ClipboardService, true); \ No newline at end of file +registerSingleton(IClipboardService, BrowserClipboardService, true); \ No newline at end of file diff --git a/src/vs/workbench/workbench.web.main.ts b/src/vs/workbench/workbench.web.main.ts index 23e94b90937..7ef0cb29a9a 100644 --- a/src/vs/workbench/workbench.web.main.ts +++ b/src/vs/workbench/workbench.web.main.ts @@ -54,7 +54,7 @@ import { MarkerService } from 'vs/platform/markers/common/markerService'; // import { IDownloadService } from 'vs/platform/download/common/download'; // import { DownloadService } from 'vs/platform/download/node/downloadService'; import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService'; -import { ClipboardService } from 'vs/platform/clipboard/browser/clipboardService'; +import { BrowserClipboardService } from 'vs/platform/clipboard/browser/clipboardService'; import { ContextKeyService } from 'vs/platform/contextkey/browser/contextKeyService'; import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { IModelService } from 'vs/editor/common/services/modelService'; @@ -149,7 +149,7 @@ registerSingleton(IEditorWorkerService, EditorWorkerServiceImpl); registerSingleton(IMarkerDecorationsService, MarkerDecorationsService); registerSingleton(IMarkerService, MarkerService, true); // registerSingleton(IDownloadService, DownloadService, true); -registerSingleton(IClipboardService, ClipboardService, true); +registerSingleton(IClipboardService, BrowserClipboardService, true); registerSingleton(IContextKeyService, ContextKeyService); registerSingleton(IModelService, ModelServiceImpl, true); registerSingleton(ITextResourceConfigurationService, TextResourceConfigurationService); -- GitLab