Compare selected Use the “Compare selected” command in the explorer to compare files using VS Code’s diff view.