You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the process of reviewing a change to over 200 files. (yes, I know...)
I run VSCode with "workbench.editor.enablePreview": false (yes, I know.. I am a tab binger)
While reviewing the code I would like the file to close after each review is complete. Which does not happen if "workbench.editor.enablePreview": false.
Pardon me if this feature exists, I could not find it.
What I think would be valid options:
Close the window when I select Mark as Viewed &/or close the file under review when I select another file for review.
New options setting githubpullrequest.editor.enablePreview (Default: true)
Put the editor into enablePreview mode during any github pull request review with no user option to change.
For a user like me #1 seems optimal. As I may have other windows open other than the review window.
But I think any of the solutions would be a big improvement for my scenario.
Workaround
Just review a batch of files then close all in the window. (but this gets rid of some other windows I have open, no big deal really)
When you mark a file as viewed through the active editor menu bar or through a keybinding, the file will close. When you mark it as viewed through the tree view then it will not close. If a setting is needed I'll add one, but my hope is that this behavior is better for almost everyone.
Activity
Mark as viewed close file option
Mark as viewed close file option (#4081)
brucejo75 commentedon Oct 19, 2022
Wow, look forward to trying it!
alexr00 commentedon Oct 19, 2022
When you mark a file as viewed through the active editor menu bar or through a keybinding, the file will close. When you mark it as viewed through the tree view then it will not close. If a setting is needed I'll add one, but my hope is that this behavior is better for almost everyone.
brucejo75 commentedon Oct 19, 2022
Thanks Alex Ross (@alexr00)!
alexr00 commentedon Oct 24, 2022
To verify: