Folder comparison with vscode
Visual Studio Code can compare folders via Extension Compare Folders. In Unix-like shells, an alias can be used to ease command line use:
alias vsdiff="COMPARE_FOLDERS=DIFF code"Then, to compare two folders, use:
vsdiff folder1 folder2vsdiff allows applying changes from the left to the right. To “swap sides” click the left-right arrow in the top right corner.