From d705bb11802065791a0e760a8622b748ef2330cf Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 6 Feb 2019 10:18:24 -0600 Subject: [PATCH] Rename Client -> IdeClient --- packages/ide/src/client.ts | 2 +- packages/vscode/src/client.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ide/src/client.ts b/packages/ide/src/client.ts index 5c281c95a..0b2ea2efa 100644 --- a/packages/ide/src/client.ts +++ b/packages/ide/src/client.ts @@ -16,7 +16,7 @@ import { IURIFactory } from "./fill/uri"; * * It also provides task management to help asynchronously load and time code. */ -export abstract class Client { +export abstract class IdeClient { public readonly retry = retry; public readonly clipboard = clipboard; public readonly uriFactory: IURIFactory; diff --git a/packages/vscode/src/client.ts b/packages/vscode/src/client.ts index d7a51b944..1d57d2545 100644 --- a/packages/vscode/src/client.ts +++ b/packages/vscode/src/client.ts @@ -11,7 +11,7 @@ import "./fill/workbenchRegistry"; import { PasteAction } from "./fill/paste"; import "./fill/dom"; import "./vscode.scss"; -import { Client as IDEClient, IURI, IURIFactory, IProgress, INotificationHandle } from "@coder/ide"; +import { IdeClient, IURI, IURIFactory, IProgress, INotificationHandle } from "@coder/ide"; import { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/contextmenu"; import { LogLevel } from "vs/platform/log/common/log"; import { URI } from "vs/base/common/uri"; @@ -25,7 +25,7 @@ import { IWindowsService } from "vs/platform/windows/common/windows"; import { ServiceCollection } from "vs/platform/instantiation/common/serviceCollection"; import { RawContextKey, IContextKeyService } from "vs/platform/contextkey/common/contextkey"; -export class Client extends IDEClient { +export class Client extends IdeClient { private readonly windowId = parseInt(new Date().toISOString().replace(/[-:.TZ]/g, ""), 10); private _serviceCollection: ServiceCollection | undefined; private _clipboardContextKey: RawContextKey | undefined;