VSNotes icon indicating copy to clipboard operation
VSNotes copied to clipboard

Not able to override meeting snippet

Open mateus-amarante opened this issue 5 years ago • 0 comments

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] (https://github.com/patleeman/VSNotes/blob/654ccd54c8ef59e2ba038c7ce802f6bf61dfcf01/package.json#L248-L252) and leave it just as an example.

mateus-amarante avatar Feb 10 '21 20:02 mateus-amarante