VSNotes
VSNotes copied to clipboard
Feature request: Sub-Tags
Tags currently appear flat
- Foo
- Bar
- Lemon
- Pie
Would like to be able to make sub tags like so
- Foo/Apple
- Foo/Orange
And have these appear in the side panel as
- Foo
- Apple
- Orange
Here is a little mock-up I did which relates to #11 too, though both #11 and #10 are independant requests.
I like the idea of sub tags but I think that instead of using a slash delimiter between subtags, we can go with something more YAML semantic and a bit more recursive. How about this:
----
tags:
- tag 1
- tag 2
- papa tag:
- subtag 1
- subtag 2
- subtag 3:
- subsubtag1
- subsubtag2
----
That looks good :-) Either way it's good. Don't know if it's possible to suggest tags, to speed up the building of perhaps longer trees (probably a different feature focus).
I have tried to take a look at the code on how to do this, but I'm not a JS/VSCode developer, or developer by trade at all. So got entirely lost. If you're able to point me at the appropriate places/things I can give it another go. I have many many tags, and lack of being able to close them gets in the way of navigating them.
Any updates on this? Sub-tags would be awesome!
a great idea!!! I like subtags!
Subtags would be cool, but I would recommend using /
to delimit them for the sake of:
- Compatability with Notable
- Simplicity of working with them
- (e.g. there are already a couple of scripts [here])(https://github.com/notable/notable-customizations)
- Compatability with WikiJS which expects tags to be flat and comma seperated.
- This wouldn't be compatability in the sense of parity but in the sense of non-breaking cohabitation.
I started using VSNotes recently, and I want this feature too.
So I tried to implement it (https://github.com/kndysfm/VSNotes-1/commit/64910f03424bf7df43a2990ea6a4ef3fde5837a4)
I defined parameter
vsnotes.tagSplitter
, and I like to use '.' fot it.