How to add timestamp and multiple choice variables to Blueprint?
Hello, I reallly like your Extension!
I use snippets a lot to insert timestamps and have even created some snippets that allow me to choose from multiple choices.
Question:
- How can I integrate the timestamp and multiple choice variables shown below into Blueprint so that when I create a new project, these options are chosen during creation?
Example of a snippet using date timestamp:
{
"New_Meeting": {
"prefix": "New_M",
"scope": "markdown",
"body": [
"# Meeting: ${1:Enter Meeting Title}",
" ",
"${CURRENT_DAY_NAME}, ${CURRENT_MONTH_NAME}, ${CURRENT_DATE}, ${CURRENT_YEAR}, ${CURRENT_HOUR}:${CURRENT_MINUTE}",
" ",
"## Called By",
" ",
"- ${2:Enter Name}",
" ",
"### Attendees",
" ",
"- ${3:Enter Name}",
"- ${4:Enter Name}",
"- ${5:Enter Name}",
" ",
"### Next Steps",
" ",
"---",
" ",
"### Agenda",
" ",
"### Notes",
" ",
"- $0"
],
"description": "New Meeting"
}
}
Example of snippet using multiple choice:
{
"Front_Matter": {
"prefix": "Front_M",
"scope": "markdown",
"body": [
"---"
"Author: This Guy",
"Title: ${1:Enter Title}",
"Created: ${CURRENT_DAY_NAME}, ${CURRENT_MONTH_NAME}, ${CURRENT_DATE}, ${CURRENT_YEAR}, ${CURRENT_HOUR}:${CURRENT_MINUTE}",
"Last Updated: ",
"Category: ${2:Enter Category}",
"Classification: ${3| CONFIDENTIAL, OPERATIONALLY SENSITIVE, FOR INTERNAL USE ONLY, COVERED BY NDA, DO NOT COPY NOR DISTRIBUTE WITHOUT PERMISSION, PUBLIC|}",
"Tags: ${4: Enter Tags}",
"---",
" ",
"# $0"
],
"description": "New Front Matter"
}
Thank you!
Definitely a good idea and should be pretty simple to do within the codebase—timestamps being easier than multiple choice. This is something I would like to do at some point but in the meantime would accept pull requests adding these features.
Thanks!
On May 21, 2019, at 2:01 PM, SeaDude [email protected] wrote:
Hello, I reallly like your Extension!
I use snippets a lot to insert timestamps and have even created some snippets that allow me to choose from multiple choices.
Question:
How can I integrate the timestamp and multiple choice variables shown below into Blueprint so that when I create a new project, these options are chosen during creation? Example of a snippet using date timestamp:
{ "New_Meeting": { "prefix": "New_M", "scope": "markdown", "body": [ "# Meeting: ${1:Enter Meeting Title}", " ", "${CURRENT_DAY_NAME}, ${CURRENT_MONTH_NAME}, ${CURRENT_DATE}, ${CURRENT_YEAR}, ${CURRENT_HOUR}:${CURRENT_MINUTE}", " ", "## Called By", " ", "- ${2:Enter Name}", " ", "### Attendees", " ", "- ${3:Enter Name}", "- ${4:Enter Name}", "- ${5:Enter Name}", " ", "### Next Steps", " ", "---", " ", "### Agenda", " ", "### Notes", " ", "- $0" ], "description": "New Meeting" } } Example of snippet using multiple choice:
{ "Front_Matter": { "prefix": "Front_M", "scope": "markdown", "body": [ "---" "Author: Eric Thomas | Project Manager, TS | BNSF Railway", "Title: ${1:Enter Title}", "Created: ${CURRENT_DAY_NAME}, ${CURRENT_MONTH_NAME}, ${CURRENT_DATE}, ${CURRENT_YEAR}, ${CURRENT_HOUR}:${CURRENT_MINUTE}", "Last Updated: ", "Category: ${2:Enter Category}", "Classification: ${3| CONFIDENTIAL, OPERATIONALLY SENSITIVE, FOR INTERNAL USE ONLY, COVERED BY NDA, DO NOT COPY NOR DISTRIBUTE WITHOUT PERMISSION, PUBLIC|}", "Tags: ${4: Enter Tags}", "---", " ", "# $0" ], "description": "New Front Matter" } Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.