check diff in vscode code example
Example: how to compare the changes between two files in vs code
// Comparing two files in vs code
Open the two files
Right click on one file & select "Select for Compare"
And on the other file, select "Compare with Selected"