scancode-workbench icon indicating copy to clipboard operation
scancode-workbench copied to clipboard

Enable display of folder's files, excluding sub-folders and their contents

Open johnmhoran opened this issue 7 years ago • 3 comments

It would be useful to be able to view the files contained in a particular folder while excluding from the view all of that folder's sub-folders and their respective contents.

johnmhoran avatar Sep 08 '18 00:09 johnmhoran

This can be accomplished by filtering on "Type", so the mechanism is there to do this. How do you envision this feature/view to be toggled?

steven-esser avatar Dec 06 '19 01:12 steven-esser

How would that filtering produce the desired result? Let's say I have folder A, containing 2 files and sub-folder B. Assume sub-folder B also contains several files. If I select folder A in the tree and filter for Type = file, I see the files in sub-folder B as well as the files in folder A. Ideally I want just the folder A files to be displayed and not the sub-folder's contents.

johnmhoran avatar Feb 13 '20 00:02 johnmhoran

Do we still want this toggle?

We can achieve this via the following query: image

For example, image

OmkarPh avatar Jul 22 '23 17:07 OmkarPh