silverbulletmd / silverbullet

The hackable notebook
https://silverbullet.md
MIT License
2.06k stars 146 forks source link

Autocomplete on #tags and in frontmatter tags: #736

Open henrikx opened 4 months ago

henrikx commented 4 months ago

There should be autocompletion of tags while typing # for an inline tag or while writing tags in the frontmatter.

gorootde commented 4 months ago

There actually is. Tags (once used anywhere in your space) are autocompleted after typing # + the first letter. In frontmatter you may use tags: "#template" to get auto competition. This only works when using double quotes.

zefhemel commented 4 months ago

Would be nicer to get it without the # though. I agree.

henrikx commented 4 months ago

Ah, I can see the autocomplete now. The reason why I thought it wasn't there was because I am running into some issues with it:

I like using tags with parents, e.g. #test:testparent, but this doesn't work with autocomplete. See: image

Maybe parents are not intended to be used in this way?