Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to exclude sub files or folders from excluded directories. #48

Open
plinnie opened this issue Mar 27, 2023 · 0 comments
Open
Assignees

Comments

@plinnie
Copy link

plinnie commented Mar 27, 2023

Describe the Problem

I have a folder with lots of sub-folders, from which I only want to see one or two.It would be nice to say 'hide all excluding' instead of having to hide all the other folders.

Describe the Solution

/dir/with/lots/of/folders!foo,bar (or /dir/with/lots/of/folders/*!foo,bar)
This would say, hide everything in folders, except for foo and bar.

Alternatively you could allow negation expressions like in .gitignore:

[X] /dir/with/lots/of/folders
[X] !/dir/with/lots/of/folders/foo
[X] !/dir/with/lots/of/folders/bar

Which would mean, hide /dir/with/lots/of/folders, but unhide foo and bar.

Alternatives

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants