mirror of
https://github.com/coder/code-server.git
synced 2026-05-08 21:37:27 +02:00
Update to VS Code 1.52.1
This commit is contained in:
@@ -52,7 +52,7 @@ interface ITunnelProvider {
|
||||
}
|
||||
|
||||
interface ITunnelFactory {
|
||||
(tunnelOptions: ITunnelOptions): Promise<ITunnel> | undefined;
|
||||
(tunnelOptions: ITunnelOptions, tunnelCreationOptions: TunnelCreationOptions): Promise<ITunnel> | undefined;
|
||||
}
|
||||
|
||||
interface ITunnelOptions {
|
||||
@@ -66,6 +66,13 @@ interface ITunnelOptions {
|
||||
label?: string;
|
||||
}
|
||||
|
||||
export interface TunnelCreationOptions {
|
||||
/**
|
||||
* True when the local operating system will require elevation to use the requested local port.
|
||||
*/
|
||||
elevationRequired?: boolean;
|
||||
}
|
||||
|
||||
interface ITunnel extends IDisposable {
|
||||
remoteAddress: { port: number, host: string };
|
||||
|
||||
@@ -217,10 +224,6 @@ interface IDefaultEditor {
|
||||
}
|
||||
|
||||
interface IDefaultLayout {
|
||||
/** @deprecated Use views instead (TODO@eamodio remove eventually) */
|
||||
readonly sidebar?: IDefaultSideBarLayout;
|
||||
/** @deprecated Use views instead (TODO@eamodio remove eventually) */
|
||||
readonly panel?: IDefaultPanelLayout;
|
||||
readonly views?: IDefaultView[];
|
||||
readonly editors?: IDefaultEditor[];
|
||||
}
|
||||
@@ -459,7 +462,6 @@ function create(domElement: HTMLElement, options: IWorkbenchConstructionOptions)
|
||||
|
||||
// Mark start of workbench
|
||||
mark('didLoadWorkbenchMain');
|
||||
performance.mark('workbench-start');
|
||||
|
||||
// Assert that the workbench is not created more than once. We currently
|
||||
// do not support this and require a full context switch to clean-up.
|
||||
|
||||
Reference in New Issue
Block a user