vscode-restore-git-branch-tabs
vscode-restore-git-branch-tabs copied to clipboard
Switching git branch externally causes 1 less editor tab to open when > 1 open
Hey there.
Great work on this tool. Very helpful!
But, I have encountered an issue with it.
Ok, so I'm using the extension, and, switching git branch using the vs.code bottom right git branch switcher seems to allow all windows that were opened to be re-opened upon returning to the same branch. ie: works as expected.
But:
If I switch git branch using something else, external to vs.code, it does detect that the branch change has happened, but, if I had more than 1 editor tab open before switching away, upon return to the branch, there will be 1 less editor tab open!
ie: Start with 3 open editor tabs, switch to another branch, come back, and I only see 2 editor tabs.
Do it again, and I open get 1 open editor tab.
What's up with that?? Really helpful tool when switching between git branches, but, would be even better if it didn't loose 1 editor window when switching branches externally.
Keep up the good work!
I'm looking forward to really enjoying using this tool :)
best regards peter
I concur in that I really wanted to use and like this plugin but the gist of it is that you have fewer and fewer windows/files open each time you switch branches. I needs to remember window/file positions/layout as well. It doesn't currently. I always get a subset of what I had open in usually fewer windows. Ideally it would also work with workspaces, but I admit that's a bigger ordeal.