Quantcast
Channel: Active questions tagged vs-code-settings - Stack Overflow
Viewing all articles
Browse latest Browse all 48

How to completely disable VS Code merge editor?

$
0
0

When I run git cherry-pick, VS Code automatically starts the merge editor.

For some unknown reason, it alters the content of the conflict files and immediately autosaves those changes to the disk, so they remain when I resolve the conflict through the terminal.

Moreover, that thing just doesn't work correctly, and when it does, it just throws an error without a description and refuses to continue!

How can I get rid of that thing?

I disabled every checkbox in settings related to merging, expecting to turn off that thing, but nothing changed.
I tried to google the solution but found only recommendations to disable those checkboxes.
Then I asked ChatGPT. It told me to add a few lines in settings.json, but it wasn't helpful either. Here's what ChatGPT suggested:

{"git.mergeEditor": false,"git.openDiffOnClick": false,"diffEditor.renderSideBySide": false,"workbench.editorAssociations": {"*.merge": "default"    },"git.enableSmartCommit": false}

Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>