vscode-pull-request-github
vscode-pull-request-github copied to clipboard
Show diffs for text files only
In focus mode we automatically show the first diff. We should only do this for text files, otherwise I get:

Changes are needed in this method to make sure the file we're opening makes sense:
https://github.com/microsoft/vscode-pull-request-github/blob/a3040499b41ea55fcab3500bf599b7f0c5e7a98e/src/view/reviewManager.ts#L409-L421
Now, we will try to find a non-media file to show. If there are none then we could still end up showing a non-text file.