Search code examples
visual-studio-code

Compare two projects using vscode


Is there any way to compare two identical projects (with some differences) in vscode? I want to find the difference in the files (e.g. main.c in the first project vs main.c in the second project and so on recersively)

Note: The are a lot of files. I don't want to compare them one by one (by right-clicking on them and choose the compare with option)


Solution

  • I am unaware of VS Code doing this. Beyond Compare does this very well. (exactly what you are describing)

    You can choose two directories. The UI will show two columns, and in each they will be highlighted red if there are discrepancies. You can open each folder to see what the differences are.