diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 67b899a4313058bb1602d64151b474317fdc41a2..00c92be9246c306b511170e649de1cef867b3d8a 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -6079,6 +6079,12 @@ declare module 'vscode' { */ export const remoteName: 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. + */ + export const shell: string; + /** * Opens an *external* item, e.g. a http(s) or mailto-link, using the * default application. diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 183828a6860fbb4282275ea0a970f3ee9bf8be68..1f376c0f99ff221382c89979456cc8cf40c706b2 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -623,12 +623,6 @@ declare module 'vscode' { */ export const logLevel: LogLevel; - /** - * The detected default shell for the extension host, this is overridden by the - * `terminal.integrated.shell` setting for the extension host's platform. - */ - export const shell: string; - /** * An [event](#Event) that fires when the log level has changed. */ diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index bbb26a719e9ee341648444c67ae107c9be0072d1..debcbce5d4c76d2823e4a380cf1b33297ce90024 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -258,7 +258,6 @@ export function createApiFactory( return extHostClipboard; }, get shell() { - checkProposedApiEnabled(extension); return extHostTerminalService.getDefaultShell(configProvider); }, openExternal(uri: URI) {