[英]vscode for git - git would not continue unless you quit editor
我已經使用Visual Studio Code作為git編輯器已有一段時間了。 但是,在最近某個時候,一旦我在git打開的新的vscode窗口中編輯了重新設置/提交消息,當我單擊vscode的“關閉”按鈕時,git將不再繼續下一步。 該窗口已關閉,但vscode進程仍在運行-我必須從擴展塢中退出它,以便git繼續。
由於這在我的另一台Mac上仍然可以正常工作,因此我嘗試完全重新安裝Visual Studio Code(刪除所有配置),但是在重新安裝后仍會發生相同的行為。 我在兩台Mac上都具有相同的git配置:
[core]
editor = code --wait
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
我正在使用最新的穩定版本1.13.0
,例如,當我開始重新設置1.13.0
,我還沒有運行過的vscode(盡管我認為應該沒關系)。 當我通過x
按鈕關閉Visual Studio代碼時,它似乎已“最小化”。
與此修復類似的問題位於https://github.com/Microsoft/vscode-go/issues/438 。 解決方法是(但請先閱讀整個主題):
Clone the repo https://github.com/Microsoft/vscode-go
cd into the repo
Get the branch with the fix roblou/killProcs
npm install
If you don't have the vsce tool, then npm install -g vsce
vsce package to get the vsix file for the extension
code --install-extension Go-0.6.53.vsix to install the extension from the six
now run vs code as you normally would
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.