You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
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!
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:
In this case,
banana.md
andapple.md
have the tagfood/fruit
, andpotato.md
andcelery.md
have the tagfood/vegetable
. So, if I want to see all notes related to food, I should be able to filter by thefood
tag and see all four notes. Basically, I'm asserting that ifbanana.md
is afood/fruit
, it is also afood
. 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.
The text was updated successfully, but these errors were encountered: