vscode compare shortcut code example
Example 1: vs code open file shortcut
To open a file:
1. press ctrl + p
2. enter filename
3. To go to line append ":10"
4. To go to function append "@foo"
Example 2: 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"