diff --git a/src/vs/workbench/parts/snippets/electron-browser/snippets.contribution.ts b/src/vs/workbench/parts/snippets/electron-browser/snippets.contribution.ts index 1aa08b96c358215b3531cd9db2cde89927142e2e..0639c51668acda8c0e2881853e0421ca22363065 100644 --- a/src/vs/workbench/parts/snippets/electron-browser/snippets.contribution.ts +++ b/src/vs/workbench/parts/snippets/electron-browser/snippets.contribution.ts @@ -67,7 +67,8 @@ class OpenSnippetsAction extends actions.Action { '/*', '\t // Place your snippets for ' + language.label + ' here. Each snippet is defined under a snippet name and has a prefix, body and ', '\t // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:', - '\t // $1, $2 for tab stops, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.', + '\t // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the ', + '\t // same ids are connected.', '\t // Example:', '\t "Print to console": {', '\t\t"prefix": "log",', @@ -162,4 +163,4 @@ let schema: IJSONSchema = { }; let schemaRegistry = platform.Registry.as(JSONContributionRegistry.Extensions.JSONContribution); -schemaRegistry.registerSchema(schemaId, schema); \ No newline at end of file +schemaRegistry.registerSchema(schemaId, schema);