Open file for SCM Use the open file button in the source control view to open the file instead of opening the diff. The same button also shows up in the toolbar for diffs. In git repositories you can also use the Git: Open File command