![](/img/trans.png)
[英]VSCode shortcut to cycle through changed (git) blocks in current file
[英]vscode jump to git/source control shortcut/command for current file
只是想知道是否有人知道vscode中是否有快捷方式或命令將當前文件跳轉到源控制選項卡?
我知道如果你在源代碼管理中, cmd + ;
會單獨跳轉到文件,但是如果你想回到源代碼控制視圖,是否有反向命令?
謝謝!
您可以添加鍵盤快捷鍵以跳轉到git更改視圖,如下所示:
{
"key": "shift+cmd+;",
"command": "git.openChange"
},
{
"key": "cmd+;",
"command": "git.openFile"
}
然后你可以使用cmd+;
從文件中跳轉到它的git變化並shift+cmd+;
跳回去。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.