没有办法在 VSCode 中的冲突之间跳转吗? [英] Isn't there a way to jump between conflicts in VSCode?

查看:30
本文介绍了没有办法在 VSCode 中的冲突之间跳转吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我使用谷歌搜索,但当您在 ​​冲突模式(打开标记为 (C) 在源代码控制面板中,其中显示了 Accept Current Change | Accept Incoming Change | etc 菜单).

Despite my googling, I can't find a keyboard shortcut (or any shortcut) to jump to the next conflict when you're in viewing a file in conflict mode (opening a file marked (C) in the source control panel, where the Accept Current Change | Accept Incoming Change | etc menu is shown).

注意:这与比较模式不同,在比较模式中,添加和删除标记为红色和绿色,F7 或箭头有效.

Note: This is different than compare mode where adds and dels are marked with red and green and F7 or the arrows works.

推荐答案

您正在寻找以下命令:

// merge-conflict.next
// merge-conflict.previous

所以你可以在你的 keybindings.json 文件中加入这样的内容:

So you can put something like this in your keybindings.json file:

{
    "key": "<your key here>",
    "command": "merge-conflict.next"
},

这篇关于没有办法在 VSCode 中的冲突之间跳转吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆