Skip to content

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

Open
@plinnie

Description

@plinnie

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions