2017-06-20 96 views

回答

4

有此設置您的工作空間:

//在終端上Windows使用的shell的路徑。當使用Windows附帶的shell(在Ubuntu上爲cmd,PowerShell或Bash)時,在C:\ Windows \ System32上使用C:\ Windows \ sysnative以使用64位版本。

"terminal.integrated.shell.windows": 「C:\\Windows\\sysnative\\bash.exe」, 

假設您已經安裝了它。我在這裏找到這個信息:

installing and setting up git bash in vscode

0

我不確定是否可以將內置終端設置爲Git Bash。在項目根目錄中打開Git Bash終端就足夠了。

您可以通過右擊打開的目錄並點擊'Git Bash here'來完成此操作。

+0

它是可能的,並且工作得很好。按照預期,Git Bash會在所選目錄中打開。 – Jared

相關問題