[英]Not getting GitHub merge conflicts Top-bar in VSCode
I am having trouble getting this Github merge conflict Top-bar to resolve the conflicts in VSCode.我无法获取此 Github 合并冲突顶栏来解决 VSCode 中的冲突。
Have tried adding this command "editor.codeLens": true
but no effect.已尝试添加此命令"editor.codeLens": true
但没有效果。
This is what i am getting after pulling the changes这就是我在拉动更改后得到的
And this is what i want after pulling.这就是我拉后想要的。
Any help would be great.任何帮助都会很棒。 Thanks!谢谢!
There is an issue with the VSCode git extension, which can be resolved by disabling the Merge Editor
option of the git extension: VSCode git 扩展存在问题,可以通过禁用 git 扩展的Merge Editor
选项来解决:
path: settings > extensions > git > Merge Editor
路径: settings > extensions > git > Merge Editor
Or by directly setting the following in the vscode's settings.json
:或者直接在 vscode 的settings.json
中设置如下:
"git.mergeEditor": false
Also, DON'T NEED TO set editor.codeLens
to true
in the settings此外, editor.codeLens
设置为true
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.