Suggest / Autocomplete in YAML Frontmatter

Use case or problem

Remembering what YAML key:value pairs have been used can be tedious.
Relying on tags / templates is not always optimal.

When adding a new key, or value to existing key, it would be great to have a suggest / autocomplete option available, that pulled from existing data in the vault.

Proposed solution

A great example would be from https://github.com/marp-team/marp-vscode

Hit Ctrl + Space within the front-matter or HTML comment to show the list of directives. You can peek the help of selected directive by hitting Ctrl + Space again.

auto-completion

Current workaround (optional)

Tag workarounds have been suggested here and here.

Related feature requests (optional)

For the ‘YAML frontmatter improvements’ Roadmap Trello card

6 Likes

will be implemented in v 1.4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.