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

Improve tag search #1292

Open
riccardoferretti opened this issue Oct 5, 2023 Discussed in #1285 · 1 comment
Open

Improve tag search #1292

riccardoferretti opened this issue Oct 5, 2023 Discussed in #1285 · 1 comment

Comments

@riccardoferretti
Copy link
Collaborator

As discussed in #1285

Improve the search for tags over the simple VS Code text search, in order to include also tags defined in YAML.

Originally posted by serifold September 14, 2023
For ordinary tags, e.g. #tag1, I know they can be found by search the keyword #tag1. However, if I have some tags in YAML front matter, e.g.

---
tags: tag1 tag2
---

I can't find them by searching such as #tag1. If I change tags: tag1 tag2 to tags: #tag1 #tag2, then Foam won't recognize them as tags.

Is there something wrong the way I use tags in YAML front matter? If not, could we add a search button in the Tag Explorer bar, which can search all tags? Or just add a command such as Foam: Search tags that can treat YAML tags correctly.

@dstengle
Copy link

I would definitely like to see tag completion in front-matter. I usually put a # to get completion and then remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants