alefragnani / vscode-project-manager

Project Manager Extension for Visual Studio Code
GNU General Public License v3.0
1.91k stars 226 forks source link

wildcards (glob) for paths (as "projectManager.git.baseFolders")? #309

Open ironicmoka opened 4 years ago

ironicmoka commented 4 years ago

Hi there,

A little context about my scenario: I'm usually working on VVV vagrant projects involving WordPress theme development. That means every time I start a new project VVV creates a new WordPress instance as git repo in the /www/ folder. For each instance I start a git project inside its /public_html/wp-content/themes/ folder and that's actually what I'm working on and what I'm interested in tracking.

Example:

/www/site_1/public_html/wp-content/themes/project_1/
/www/site_2/public_html/wp-content/themes/project_2/
and so on...

I tried to setup "projectManager.git.baseFolders"with a wildcard as /Users/username/vagrant-local/www/*/public_html/ to filter out site_1, site_2 etc., but I found out Project manager it's not supporting wildcards (yet).

Of course I can add projects as favourites saving them manually, not a big effort :), but as I discovered there is some interest in this (see #278 ) do you think that can be a feature to look forward in the near future?

As mentioned that's not something that prevents me to use and love this extension, but would be very handy having the option to just load all projects at once as git projects automagically.

alefragnani commented 4 years ago

Hi @ironicmoka ,

I find myself in this scenario sometimes, but my projects tend to have a small amount of base folders, so it's something that don't bother me that much.

But I totally understand, and agree, that it would be very handy 👍

Thank you for reporting.

brett-walker commented 4 months ago

Nice feature that I would love to see implemented. Is there any likelihood of this being progressed? Thanks.