When I work, I always have 2 to 6/7/... branches where I edit usually completely different files. These branches usually don't exist for more than a few days, 2 or 3 weeks at most.
As I don't want to look for the files I modified or had opened last time I worked on one particular branch, I usually have as many ST opened as I have branches, and switch window each time I switch branches. It is still manageable, but I was wondering if anybody new of a package that would allow ST to track the branch I'm on, and restore the state it was in last time it was on this branch (I would settle for only opening the files that were opened, I don't really need to keep unsaved modifications).
Thank you for your time! I hope I was clear enough.
I had forgotten about this post. I actually did write a plugin for ST: https://github.com/Xaelias/ST_Plugins/blob/master/BranchedWorkspace.py
Like I said in the comment, there is no option, and the behavior may not be perfect for everybody, but it worked well enough for me (and I don't really had time to improve it).
Some comments:
If you have comments/questions/improvement, then Github is probably a better place but I will try to keep track of stuff happening here!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With