I often have to work with multiple related projects and switching between them can become hard. I use
counsel-projectile and it really makes everything easier. To be clear, I am not talking about
counsel-projectile-switch-to-project. I already use those functions and they are really useful.
What I would want is a function or a package that could display all opened projectile projects with ivy or helm and let me choose a candidate. When the candidate would be selected, the last buffer opened in that project would be opened. It would be basically a
counsel-switch-buffer but with projects. If possible the last visited project would display first.
An example of this would be this package: persp-projectile, but unfortunately it does not work for me most of the times.
What I currently use is centaur-tabs and it has the function
centaur-tabs-group-by-projectile-project which is the closest thing of what I want. It only misses to place the last project on top of the candidates. But the real problem is that I don't even use the tab functionality and it makes Emacs have some small bugs sometimes (eg. hiding helm candidates on emacsclient).
So if there was a simple custom function with ivy and projectile I would really appreciate it.
projectile-switch-open-project does almost what I want but it triggers find-file. I would want it to just go to the last opened buffer on the project.