blakedietz / vscode-nested-tags

Stop using your file tree to organize your notes. Transform VSCode into a note-taking app by adding tag support.
MIT License
75 stars 17 forks source link

Dustinsterk feat(tagtree) go to tag references #55

Closed dustinsterk closed 2 years ago

dustinsterk commented 4 years ago

I have created this proof of concept that allows you to add "~~" tags anywhere in the markdown (due to the ASCII ascending order, they will fall at the bottom of the tag list -- which I personally like). I have also changed the tree structure to show LineNum(X) in the hierarchy a step above the filename. If a LineNum(X) is found, the click action on the filename will both open the file and jump to the line and center the editor/focus correctly on the line number. If a LineNum is not found (I excluded them with YAML tags for instance), it will just open the file.

dustinsterk commented 4 years ago

What do you think......any thoughts on this change? I have been using it and I really like the idea of having the ability to quickly tag markup files with my ~~ tags (or some other character of your liking). Looking at the ASCII Sort Order, I also like the idea of being able to sort my tags with important things like my TODO list at the top (with a '$' sign). I decided on ~~ as the special tag as those will show up at the bottom of your tag list and not intermix and impact the UX of existing tags.

image

blakedietz commented 4 years ago

I know it's been a while. Just wanted to say thank you for this pull request I need to set some time aside to dust off this project. There are a few features I want to update and improve and having support for jumping to the specific line a tag is on is one of them.

Thank you for submitting this. I need to look at it before I can get back to you with specific feedback.

dustinsterk commented 4 years ago

No worries, I actually had fun trying to make this work, and have been using it for my notes. I recently switched to testing another note taking app (Bear app) which also lacks this functionality! In any case, happy to discuss any of the proposed changes.

vanadium23 commented 3 years ago

Why not to use #word for hashtags?