13 lines
528 B
JSON
13 lines
528 B
JSON
{
|
|
// Each snippet must have a name and body, but the prefix and description are optional.
|
|
// The prefix is used to trigger the snippet, but when omitted then the name is used.
|
|
// Use placeholders like $1, $2 or ${1:defaultValue} to define tab stops.
|
|
// The $0 determines the final cursor position.
|
|
// Placeholders with the same value are linked.
|
|
"Log to console": {
|
|
"prefix": "log",
|
|
"body": ["console.info(\"Hello, ${1:World}!\")", "$0"],
|
|
"description": "Logs to console"
|
|
}
|
|
}
|