Does any of you remember what program is that or use some custom solution for the same issue?
It's a huge pain to have to do that every time, specially if you switch between multiple projects
I am aware that this doesn't really help you as your question seems to suggest you are not using an editor that can be run in the terminal.
You could also write a simple bash script to do it. If you also like this in the menu bar you can download BitBar which easily lets you put actions into the menu bar via python/bash/etc. I have a lot of stuff like this, very much as project overview and shortcut area.
Pretty simple and really flexible.
Open beta this winter.