提交 931b27d8 编写于 作者: D Daniel Imms

Move env.shell to stable

上级 6dabbf29
......@@ -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.
......
......@@ -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.
*/
......
......@@ -258,7 +258,6 @@ export function createApiFactory(
return extHostClipboard;
},
get shell() {
checkProposedApiEnabled(extension);
return extHostTerminalService.getDefaultShell(configProvider);
},
openExternal(uri: URI) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册