gpt4 book ai didi

sublimemerge - 如何在 Sublime Merge 中将 "Resolve All"或绑定(bind)到 "Resolve Next"的键?

转载 作者:行者123 更新时间:2023-12-04 13:58:38 29 4
gpt4 key购买 nike

我有很多冲突需要解决,如果有一种方法让我决定“全部解决”,这将把所有需要解决的文件排队,这真的很有帮助。

另一个想法是将“解决”按钮绑定(bind)到一个键,这样我就可以单击该键绑定(bind)来解决下一个冲突。

我在谷歌上搜索了很多,但无济于事。

"Key Binding"-documentation没有提到这个。

谢谢!

最佳答案

TL;博士。

    {
"keys": ["ctrl+super+shift+r"],
"command": "resolve_merge_conflict", "args": { "path": "$path" },
},
{
"keys": ["ctrl+super+shift+t"],
"command": "stage_file", "args": { "path": "$path" },
},
解释
documentation you mention解释了如何做到这一点:

Currently there is no compiled list of all built-in commands. The names of many commands can be found by looking at the Default ({PLATFORM_NAME}).sublime-keymap and Main.sublime-menu files in the Default - Merge.sublime-package and Default.sublime-packagepackages. See the Packages documentation for information on where to find the package and view the contents.


您要查找的命令在 Unmerged File.sublime-menu 中下 Default包裹: resolve_merge_conflictstage_file .他们都接受 path争论。

关于sublimemerge - 如何在 Sublime Merge 中将 "Resolve All"或绑定(bind)到 "Resolve Next"的键?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56222467/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com