Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Not able to override meeting snippet #92

@mateus-amarante

Description

@mateus-amarante

I was not able to override the meeting snippet. I set the markdown user snippet file with:

{
	"vsnote_template_meeting": {
        "prefix": "vsnote_template_meeting",
        "scope": "markdown",
        "body": [
            "---",
            "tags:",
            "\t- meeting",
            "---",
            "\n# $1- $CURRENT_DATE/$CURRENT_MONTH_NAME_SHORT/$CURRENT_YEAR\n",
            "## Agenda\n",
            "$2",
            "## Minutes\n",
            "$3",
        ],
        "description": "Generic meeting template",
    },

And set "vsnotes.templates": [ "meeting" ] in my settings.json file. When add a new note I can select the "meeting" snippet, but it applies the default version provided by the extension. When I hit Ctrl+Space I see the two snippets of the same name.

One suggestion would be removing it from [package.json] (

VSNotes/package.json

Lines 248 to 252 in 654ccd5

"snippets": [
{
"language": "markdown",
"path": "./snippets/markdown.json"
}
) and leave it just as an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions