Only just discovered that in @phpstorm you can save your open tabs as a context (and even link to a task) so you can switch tasks without having to remember all of the files you need to reopen when you return to it!