diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 60a7c72896f70fd66145f52205cda1309df1f9a6..3e35c909840db2b8ab08ab529a19083c4574cd7b 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -8277,17 +8277,6 @@ declare module 'vscode' { */ export const remoteName: string | undefined; - /** - * The authority part of the current opened `vscode-remote://` URI. - * Defined by extensions, e.g. `ssh-remote+${host}` for remotes using a secure shell. - * - * *Note* that the value is `undefined` when there is no remote extension host but that the - * value is defined in all extension hosts (local and remote) in case a remote extension host - * exists. Use {@link Extension.extensionKind} to know if - * a specific extension runs remote or not. - */ - export const remoteAuthority: string | undefined; - /** * The detected default shell for the extension host, this is overridden by the * `terminal.integrated.shell` setting for the extension host's platform. Note that in diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 74247afc58e8ee7ad2fff17a92d968adc6cc3774..726ec43319a8018a5c49f563d3a2ddc142b112a8 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -229,6 +229,21 @@ declare module 'vscode' { export function registerResourceLabelFormatter(formatter: ResourceLabelFormatter): Disposable; } + export namespace env { + + /** + * The authority part of the current opened `vscode-remote://` URI. + * Defined by extensions, e.g. `ssh-remote+${host}` for remotes using a secure shell. + * + * *Note* that the value is `undefined` when there is no remote extension host but that the + * value is defined in all extension hosts (local and remote) in case a remote extension host + * exists. Use {@link Extension.extensionKind} to know if + * a specific extension runs remote or not. + */ + export const remoteAuthority: string | undefined; + + } + //#endregion //#region editor insets: https://github.com/microsoft/vscode/issues/85682