Alexander-Miller / treemacs

GNU General Public License v3.0
2.05k stars 151 forks source link

Project Definitions: File Name Wildcards and Individual Files #1097

Open c-alpha opened 3 months ago

c-alpha commented 3 months ago

Hello, I'd like to be able to use finer controls when specifying what is part of a project, and what isn't. To my understanding, the currently the only option is to use path :: to specify one or more directories?

I have two use-cases where a finer grained control would be handy.

The first one is for picking a small subset of an otherwise densely populated directory:

** Shell Init Files
 - file :: ~/.zshenv
 - file :: ~/.zshrc
 - path :: ~/.zsh
 - file :: ~/.profile
 - file :: ~/.bash_profile

The second one is to white-list a subset by extension:

** My Org Scribe
 - path :: ~/Notes/*.org

It seems to me neither were currently possible? Have I missed the decisive bit of documentation?

Alexander-Miller commented 3 months ago

It seems to me neither were currently possible? Have I missed the decisive bit of documentation?

You haven't, treemacs can't do something like this.

While I see the utility a feature of that scope would be a lot work, and my current priority is cleaning up the backlog and fixing bugs, not new large features. I'll leave the ticket open, but I cannot say when I'll have the time to look at it.

c-alpha commented 3 months ago

Thanks for your swift response. I see & understand. Also appreciate your keeping it on the "inspirational backlog"! 👍👍 👋

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).