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
Although I use git command line for most things, I use the IDE when making commits, and I find that whenever I make a commit, close a project and reopen it at a later point, there are still a whole bunch of Working Tree tabs from before that I do not need to see anymore. I often have a tab for the file itself anyway, so when I reopen the IDE, I basically have two tabs for each file, one of them is the file itself and the other is the diff tab.
It would be nice if there was some sort of config option available to automatically close all these types of tabs whenever a commit has been made and/or when the window is closed. Would keep the IDE a bit tidier for me.
edit: openDiffOnClick does not work for me because I still like to see these diffs.
The text was updated successfully, but these errors were encountered:
There are already 47 upvotes on one of the old threads for this - are those counted when deciding if something gets moved to the backlog or do people need to vote on this specific issue?
Today's Insiders release (2022-02-10) contains a new setting (git.closeDiffOnOperation) that is meant to address the need to manually close the diff editors after certain git operations. If the setting is enabled, diff editors will automatically be closed when changes are committed, discarded, staged, unstaged. Try out the new setting and let me know your feedback.
I just gave it a go and it seems to work well so far. Initially it felt a bit eager, I thought it would close on commit, not when the file is staged. But I'll try to use it for some "real" work and see how it behaves.
I do still think a manual "Close all tabs with (Working Tree) in the name" action in the command palette would be useful.
Today's Insiders release (2022-02-16) contains a new command Git: Close All Diff Editors to manually close the diff editors independent of the git.closeDiffOnOperation setting. Please give it a try and let me know if you experience any issues with the command.
Although I use git command line for most things, I use the IDE when making commits, and I find that whenever I make a commit, close a project and reopen it at a later point, there are still a whole bunch of Working Tree tabs from before that I do not need to see anymore. I often have a tab for the file itself anyway, so when I reopen the IDE, I basically have two tabs for each file, one of them is the file itself and the other is the diff tab.
It would be nice if there was some sort of config option available to automatically close all these types of tabs whenever a commit has been made and/or when the window is closed. Would keep the IDE a bit tidier for me.
edit:
openDiffOnClick
does not work for me because I still like to see these diffs.The text was updated successfully, but these errors were encountered: