# Auto-completion for certain frontmatter keys (aliases, tags, etc)

**URL:** <https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420>\
**Category:** Feature requests\
**Tags:** ui-ux\
**Created:** [December 3, 2020, 2:03am UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420 "2020-12-03T02:03:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![devalias](https://forum.obsidian.md/user_avatar/forum.obsidian.md/devalias/32/5886_2.png) [@devalias](https://forum.obsidian.md/u/devalias)\
**Post date:** [December 3, 2020, 2:03am UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/1 "2020-12-03T02:03:13Z")

</div>

### Use case or problem

The new `aliases`/`tags` frontmatter feature added in [Obsidian Release v0.9.16](https://forum.obsidian.md/t/obsidian-release-v0-9-16/8795) is great!

I think it would help to ‘surface’ this feature in a nice/time saving way if we had ‘auto completion’ for the supported keys here (at least for those with specific Obsidian connotations like `aliases`, `tags`, etc), and maybe even following on from that with suggested data to add to it (eg. `aliases` pops up a search field for notes that shows all ‘alternative labels’ that have been used to link to this card, and allows us to easily select one to make it an ‘explicit alias’)

### Proposed solution

When I’m within the frontmatter section:

- If I start typing the name of a supported ‘frontmatter key’ (`aliases`, `tags`, etc), Obsidian auto-suggests the completion for me, which I can accept by hitting tab/enter/similar.

Within the context of a ‘supported key’ within the frontmatter section:

- Obsidian suggests contextually relevant auto-completions, eg.
  - within `aliases`, suggestions will include all of the alternate names this note has been linked to with previously ‘at the top’ of the suggestions
  - as I type, this list is filtered down to only the matching notes, still with alternate names sorted to the top
  - I can `tab`/`enter`/etc to choose this item, at which point the auto completion closes
  - If I type a `,` or similar to indicate that I want to add more, the auto-completions pop up again as before (though any existing aliases/etc we have already used here won’t be suggested again)

### Current workaround (optional)

Manually typing out everything I want in full.

### Related feature requests (optional)

Vaguely related:

- [Aliases for note names](https://forum.obsidian.md/t/aliases-for-note-names/783/66)
- [Add aliases to frontmatter by right click on a link with alias](https://forum.obsidian.md/t/add-aliases-to-frontmatter-by-right-click-on-a-link-with-alias/9023)

---

<div class="post-metadata">

**Author:** ![INoViodiUMNE](https://forum.obsidian.md/user_avatar/forum.obsidian.md/inoviodiumne/32/5502_2.png) [@INoViodiUMNE](https://forum.obsidian.md/u/INoViodiUMNE)\
**Post date:** [December 12, 2020, 8:48pm UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/2 "2020-12-12T20:48:56Z")

</div>

How do you know which keywords are supported?  
It seems like “alias” works and so do “aliases”.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [December 13, 2020, 1:07am UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/3 "2020-12-13T01:07:01Z")

</div>

Obsidian should know what it supports.  
[Official announcement](https://forum.obsidian.md/t/obsidian-release-v0-9-16/8795) says `aliases`.

It is now only unofficially requested to have supported keywords listed in [documentation](https://publish.obsidian.md/help/Index).

> [@Use H1 or YAML property "title" instead of or in addition to filename as display name](https://forum.obsidian.md/t/use-h1-or-yaml-property-title-instead-of-or-in-addition-to-filename-as-display-name/687/42):
>
> which YAML tags are supported should be documented in a dedicated page, maybe into an in-depth introduction about how front-matters work?

---

<div class="post-metadata">

**Author:** ![jmilldotdev](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@jmilldotdev](https://forum.obsidian.md/u/jmilldotdev)\
**Post date:** [September 2, 2021, 12:39pm UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/4 "2021-09-02T12:39:29Z")

</div>

Still would like this feature, especially for frontmatter tags

---

<div class="post-metadata">

**Author:** ![kenanmike](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kenanmike/32/18316_2.png) [@kenanmike](https://forum.obsidian.md/u/kenanmike)\
**Post date:** [September 2, 2021, 12:43pm UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/5 "2021-09-02T12:43:08Z")

</div>

Yes yes yes please. +1

---

<div class="post-metadata">

**Author:** ![meredrica](https://forum.obsidian.md/user_avatar/forum.obsidian.md/meredrica/32/45585_2.png) [@meredrica](https://forum.obsidian.md/u/meredrica)\
**Post date:** [April 13, 2023, 11:17am UTC](https://forum.obsidian.md/t/auto-completion-for-certain-frontmatter-keys-aliases-tags-etc/9420/6 "2023-04-13T11:17:29Z")

</div>

I’d also like to see this. I don’t like cluttering my notes with visible tags.
