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
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.
Per this comment, it seems the default behavior for keybindings (or editor menu bar) calling pr.markFileAsViewed is to close the file, but for my workflow I'd prefer it didn't. Is it possible to add either a config setting, new command, or allow "args" in the keybinding to disable closing the active editor when this command is executed?
If it would be accepted, I could also attempt a PR for whichever of those options seems preferable. Thanks!
Edit: as a workaround (at least for keybindings) I found this seems to work okay - although the visual effect of closing and immediately reopening the editor is a bit jarring:
Same. My workflow is to use the GitHub Pull Requests: Go to Next Diff in Pull Request repeatedly and at the end of a file I mark it as viewed. But since it closes, I'm not able to go to next the file after that.
Originally posted by @alexr00 in #3513 (comment)
Per this comment, it seems the default behavior for keybindings (or editor menu bar) calling
pr.markFileAsViewed
is to close the file, but for my workflow I'd prefer it didn't. Is it possible to add either a config setting, new command, or allow"args"
in the keybinding to disable closing the active editor when this command is executed?If it would be accepted, I could also attempt a PR for whichever of those options seems preferable. Thanks!
Edit: as a workaround (at least for keybindings) I found this seems to work okay - although the visual effect of closing and immediately reopening the editor is a bit jarring:
The text was updated successfully, but these errors were encountered: