Bug: Tags and Categories field names cannot be renamed #207

Closed
opened 2026-10-05 02:33:32 +02:00 by adam · 5 comments
Owner

I am trying to have a tags field called tag rather than tags

Despite creating new default content type, the Markdown file always ends up writing a field called 'tags'

  "frontMatter.taxonomy.contentTypes": [
    {
      "name": "default",
      "previewPath": null,
      "pageBundle": false,
      "fields": [

[[SNIP]]

        {
          "title": "My Tags",
          "name": "tag",
          "type": "tags"
        },

Should it be possible to use an alternate field name? Or have more than on tags type field?

Originally posted by @jmatthewpryor in https://github.com/estruyf/vscode-front-matter/discussions/260

I am trying to have a tags field called tag rather than tags Despite creating new default content type, the Markdown file always ends up writing a field called 'tags' ``` "frontMatter.taxonomy.contentTypes": [ { "name": "default", "previewPath": null, "pageBundle": false, "fields": [ [[SNIP]] { "title": "My Tags", "name": "tag", "type": "tags" }, ``` Should it be possible to use an alternate field name? Or have more than on tags type field? _Originally posted by @jmatthewpryor in https://github.com/estruyf/vscode-front-matter/discussions/260_ <!-- github-sync-id:1144767210 -->
adam closed this issue 2026-10-05 02:33:33 +02:00
Author
Owner

@jmatthewpryor a fix to support this is added to the latest beta. Feel free to give it a try.

@jmatthewpryor a fix to support this is added to the latest beta. Feel free to give it a try. <!-- github-comment-id:1046055708 -->
Author
Owner

thanks @estruyf - apologies for the naive question but how do I test the beta?

thanks @estruyf - apologies for the naive question but how do I test the beta? <!-- github-comment-id:1046307425 -->
Author
Owner

Beta can be installed by installing this version: https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-front-matter-beta

Be sure to uninstall the main version. Nothing is lost during this process, but two extensions with the same ID cannot run at the same time.

Beta can be installed by installing this version: https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-front-matter-beta Be sure to uninstall the main version. Nothing is lost during this process, but two extensions with the same ID cannot run at the same time. <!-- github-comment-id:1046308039 -->
Author
Owner

thanks - that seems to have fixed it

thanks - that seems to have fixed it <!-- github-comment-id:1048613260 -->
Author
Owner

Thanks for verifying!

Thanks for verifying! <!-- github-comment-id:1048615828 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#207