In the process of changing the code, sometimes we need to compare the difference between the before and after code, which can be easily realized with VScode
1. Open VScode, select the file to be compared, and right-click to select to compare:
2. Select the file to be compared again, and right-click to compare with the selected item;
3. Comparative effect