vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Automatically advance to next file after marking file as viewed

Open asportnoy opened this issue 2 years ago • 4 comments

When I mark a file as viewed while reviewing, I'd like it to automatically switch to the next file in the list. This will make it so I can just keep my mouse in the top right panel without having to jump back and forth between the sidebar while reviewing. Is this something that currently exists, or are there any alternatives you'd recommend I try? If not, could this be added as an option to the extension?

asportnoy avatar Dec 06 '23 17:12 asportnoy

I like to close all files, then use the "GitHub Pull Request: Open All Diffs" command and then "Mark as viewed" to accomplish something similar.

alexr00 avatar Dec 12 '23 16:12 alexr00

Thank you for your suggestion @alexr00. I gave it a shot but I don't think it will work out for me for a few reasons:

  • If I already started to review the pull request, I have to manually close out of the files I have already reviewed
  • Often times I've noticed that it will not go in order when I close a file, it will just jump me to some other file a lot further down (I think this is just due to how VSCode handles closing the active file)
  • It's just a mess to have that many files open at the same time

I think my proposed setting to just automatically open the next unreviewed file will still be the most ideal option.

asportnoy avatar Dec 12 '23 17:12 asportnoy