Comparing files in VSCode
1 min read • 30 Mar 2023Views:
![code-compare-in-vscode](https://user-images.githubusercontent.com/43666833/228761481-5d3d0419-a158-475f-bbe2-6fad2d6cbd4b.gif)
VSCode provides us a feature through which we can compare code between two files. Following are the steps to compare two file's code in VSCode-
- Right click on the file against which you want to compare
- Click on Select for compare
- Now, right click on the second file which you want to compare
- Click on Compare with selected
You will get the whole file comparison opened as a tab in VSCode.