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

Feature request: List files at each level of nested tag tree #49

Open
tarheels100 opened this issue Sep 21, 2019 · 1 comment
Open

Feature request: List files at each level of nested tag tree #49

tarheels100 opened this issue Sep 21, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tarheels100
Copy link

Background

One of the main advantages of nested tags is that you can group related files together as long as they have tags that share a common ancestor. Take the following tag tree as an example:

food/
├── fruit/
│   ├── banana.md
│   ├── apple.md
└── vegetable/
    ├── potato.md
    └── celery.md
beverage/
├── juice/
...

In this case, banana.md and apple.md have the tag food/fruit, and potato.md and celery.md have the tag food/vegetable. So, if I want to see all notes related to food, I should be able to filter by the food tag and see all four notes. Basically, I'm asserting that if banana.md is a food/fruit, it is also a food. Currently, it doesn't appear possible to do this in the extension since the tag tree only lists files at the tips of the tree branches.

Implementation

I don't think it would make sense to clutter up the tag tree display with a list of files at every level of the tree. But, what would be nice is if selecting a tag in the tag tree would filter the file list for only file containing the selected tag (or a branch of the selected tag). Alternatively, if it's not possible or is too messy to manipulate the existing file list in VS Code, you could introduce another panel above/below the tag tree that lists the filtered files.

@blakedietz blakedietz added enhancement New feature or request help wanted Extra attention is needed labels Sep 24, 2019
@blakedietz blakedietz self-assigned this Sep 24, 2019
@blakedietz
Copy link
Owner

Ooh, I like this idea. I haven't been actively developing in a while, but maybe I'll make some time in the next couple of weeks. Thanks for the detailed write up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants