Accept Incoming Change not appearing in VS Code (VS Code Version 1.61.2)

1.7k views Asked by At

I have a problem, where I don't see the toolbar for merge conflicts in Visual Studio Code even after enabling the editor.codeLens.

codeLens enabled

code example

Any idea what else it can be? I tried to restart VS Code, disabling/enabling editor.codeLens. I even installed/uninstalled Gitlens - Git supercharged.

Thank you in advance.

Reference for my inputs are from: Accept Incoming Change not appearing in VS Code

2

There are 2 answers

0
Taha Malik On

I uninstalled the VSCode and reinstalled it but doens't work. Then I completely uninstalled the VSCode along with its data, caches, temporary files And Reinstalled it and Worked like a charm.

Before that I tried enabling CodeLens and Adding VSCode as default merge tool, difftool and whatever is available on the internet, nothing worked.

Basically what I deduce is, there is some extension that have malfunctioned your VSCode git merge tool or its settings. You can try uninstalling all extensions first before completly uninstall the VSCode

Uninstall Completely


For Mac run following command in terminalsee this answer

rm -fr ~/Library/Preferences/com.microsoft.VSCode.helper.plist 
rm -fr ~/Library/Preferences/com.microsoft.VSCode.plist 
rm -fr ~/Library/Caches/com.microsoft.VSCode
rm -fr ~/Library/Caches/com.microsoft.VSCode.ShipIt/
rm -fr ~/Library/Application\ Support/Code/
rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/
rm -fr ~/.vscode/

For Windows see this answer

Go to Path: C:\Program Files\Microsoft VS Code
Double Click uninstall.exe
This will uninstall VS Code from Your Windows OS and
After uninstallation delete code folder also.
Open Run (Win + R) and Enter %appdata% Press Enter
Delete the folder code

Delete this folder as well %USERPROFILE%\.vscode according to this answer

1
Ganda Rain Panjaitan On

In case someone still can't solve this issue. You can turn off the Git: Merge Editor from Setting menu.

merge editor option

VSCode merge conflict options not displaying