Rename Client -> IdeClient

This commit is contained in:
Asher 2019-02-06 10:18:24 -06:00
parent 94f977845a
commit d705bb1180
No known key found for this signature in database
GPG Key ID: 7BB4BA9C783D2BBC
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import { IURIFactory } from "./fill/uri";
* *
* It also provides task management to help asynchronously load and time code. * 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 retry = retry;
public readonly clipboard = clipboard; public readonly clipboard = clipboard;
public readonly uriFactory: IURIFactory; public readonly uriFactory: IURIFactory;

View File

@ -11,7 +11,7 @@ import "./fill/workbenchRegistry";
import { PasteAction } from "./fill/paste"; import { PasteAction } from "./fill/paste";
import "./fill/dom"; import "./fill/dom";
import "./vscode.scss"; 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 { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/contextmenu";
import { LogLevel } from "vs/platform/log/common/log"; import { LogLevel } from "vs/platform/log/common/log";
import { URI } from "vs/base/common/uri"; 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 { ServiceCollection } from "vs/platform/instantiation/common/serviceCollection";
import { RawContextKey, IContextKeyService } from "vs/platform/contextkey/common/contextkey"; 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 readonly windowId = parseInt(new Date().toISOString().replace(/[-:.TZ]/g, ""), 10);
private _serviceCollection: ServiceCollection | undefined; private _serviceCollection: ServiceCollection | undefined;
private _clipboardContextKey: RawContextKey<boolean> | undefined; private _clipboardContextKey: RawContextKey<boolean> | undefined;