Maybe this is why I still prefer working with a very vanilla vim setup, when I start with a coding task, I have to think for a moment about what files I need to work in and start by opening one. There is no IDE with 5 files already open. I do sometimes cheat and put a TODO comment in some files so that `git status` helps me remember where I left off previously.
Another thing that I've enjoyed a lot is a browser plugin called OneTab, when I start a new task or context switch I just hit the button and all the browser tabs are saved and closed. I then go through the list and only open up the tabs relevant to the task or I just start from scratch.