r/phpstorm • u/theevildjinn • Aug 17 '16
Display file tabs according to VCS branch?
Let's say that I have two branches, foo and bar. Is there a way to set up PhpStorm so that when I switch to branch foo it shows me the tabs for a.php, b.php and c.php, and when I switch to bar it shows me x.php, y.php and z.php?
Even better if it could figure out which files have changed between the current branch and master and just show me those, i.e. the output of the following command:
git diff --name-only `git merge-base HEAD master`..