Closed marc-spinozza closed 6 years ago
I have redefined the following settings in my user space:
"vsnotes.tokens": [ { "type": "datetime", "token": "{dt}", "format": "YYYYMMDD", "description": "Insert formatted datetime." }, { "type": "title", "token": "{title}", "description": "Insert note title from input box.", "format": "Untitled" }, { "type": "extension", "token": "{ext}", "description": "Insert file extension.", "format": "md" } ], "vsnotes.noteTitleConvertSpaces": "", "vsnotes.defaultNoteTitle": "{dt} - {title}.{ext}"
Then the filename assigned to a new note is:
20180822-20180822-New_Note.md.md
If you change the default name at note creation time, the filename template is working as expected.
Fixed in https://github.com/patleeman/VSNotes/commit/5cd39eaf9e69390a45417fa8d5fa000739deb2cf
I have redefined the following settings in my user space:
Then the filename assigned to a new note is:
20180822-20180822-New_Note.md.md
If you change the default name at note creation time, the filename template is working as expected.