This extension adds to vscode a feature that automatically synchronizes the list of open files according to the current git branch. This feature is built-in in other IDEs like IntelliJ.
- User is working on branch
branch-1
with the following files open:a.txt
andb.txt
. - User switches to new branch
branch-2
and closes fileb.txt
, leaving onlya.txt
open. - After switching back to
branch-1
, theb.txt
file is opened again, so the list of open files will be again:a.txt
andb.txt
.
- Automatically restore the list of open files when switching back to a branch
- Pinned files are not closed when switching branches
- Extension automatically restores focus to the file that was active before leaving the branch
- Switching to a new branch does not change the list of open files
- Initial release
- Improve closing end opening files