Rename Client -> IdeClient
This commit is contained in:
parent
94f977845a
commit
d705bb1180
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user