Treemacs is great, however I find the Workspaces metaphor to not be very useful. I already use Projectile, and it would be great when I use projectile to switch to a project, treemacs could simply show the contents of that project without having to constantly create new workspaces, or using a monolithic workspace with everything in it.
It'd be great if there was a "projectile-follow" mode or something.
This will be great addition but I don't think it will be easy to follow specific projects as treemacs is built around the workspace model and I don't think it supports narrowing to a specific project automatically.
I had the idea to implement something like this for a while now.
The current plan is to have a special workspace that automatically syncs with your projectile projects. That should remove the need for any special narrow or follow implementations, from your POV it'll be like a normal workspace - with a few automatic project add/remove parts going on underneath - that you can switch to and away from whenever.
@Alexander-Miller Narrowing is very useful as it will retain the contents of the buffer showing contents which are needed. If you try to implement without narrowing then following projects using projectile would trigger multiple deletions and creations which takes time AFAIK.
I don't know about the details, but I would like to say that I would love such a feature.
Thank you four considering it.
Take my post as a support post for a further projectile integration.
Thanks for all your work,
Nils
Most helpful comment
I had the idea to implement something like this for a while now.
The current plan is to have a special workspace that automatically syncs with your projectile projects. That should remove the need for any special narrow or follow implementations, from your POV it'll be like a normal workspace - with a few automatic project add/remove parts going on underneath - that you can switch to and away from whenever.