Alexander-Miller / treemacs

GNU General Public License v3.0
2.12k stars 156 forks source link

[Suggestion] Add support for switch/change project #1098

Closed MirageTurtle closed 8 months ago

MirageTurtle commented 8 months ago

I sincerely suggest to add some support for switch/change a project.

When I have only one project in a workspace, and I want to split it to some subfolders (actually, I want to remove the un-related subfolders), I need to add another temp project (which is not a subfolder for the existed folder), remove the older one, add the expected subfolders, remove the temp project, and then done.

I know this is not a common need, so I just suggest it. And I'd like to help to implement it :)

Alexander-Miller commented 8 months ago

You do have a few options.

You can make all changes at once with treemacs-edit-workspaces.

Another option is to move into one subfolder with treemacs-root-down, then add the other subfolders as needed.

MirageTurtle commented 8 months ago

Another option is to move into one subfolder with treemacs-root-down, then add the other subfolders as needed.

I like this option, it's like that I still have more commands of treemacs to explore :)