当我启动应用程序时,它看起来像:-
然后我必须创建新的外壳&它会打开默认的外壳(Git Bash):-
先试,然后将terminal.integrated.defaultProfile.windows
设置为bash(如果默认情况下需要bash)
这样,您就不必从当前的默认PowerShell终端进行切换。
.前提是microsoft/vscode
issue 132149已修复,但目前还不是这样。
这是issue 132150的副本,现在由commit c765e70修复,由Megan Rogge修复。
async createTerminal(options?: ICreateTerminalOptions): Promise<ITerminalInstance> {
if (!this._availableProfiles) {
await this._refreshAvailableProfiles();
}
更新9月14(2021):此问题现已修复,VSCode 1.60.1及其August 2021 Endgame Recovery。