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;