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

Completion for hierarchical tags #68

Open
Uroc327 opened this issue Aug 24, 2023 · 0 comments
Open

Completion for hierarchical tags #68

Uroc327 opened this issue Aug 24, 2023 · 0 comments

Comments

@Uroc327
Copy link

Uroc327 commented Aug 24, 2023

I would like to have incremental completion and triggering for hierarchical tags.

In my frontmatter, I have a topic field with hierarchical values. A list of all possible topics would look something like

topics:
- afoo
- afoo/b
- afoo/b/d
- afoo/c
- afoo/c/d
- b
- e

where the individual names (like a) may contain spaces or &.

When adding a topic, I would like to see a completion workflow like navigating through a filesystem using cd and bash completion. For an empty field - with possible suggestions afoo, bbar, efoo, I want to write a<Enter> to result in - afoo or a/ to result in - afoo/.

Also, completion of partial values doesn't seem to work right now. If I have topics A & B, A & B/C, A & B/D, then starting with A & B/ does not provide any suggestion at all.

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

1 participant