snippets - update snippet help text

This commit is contained in:
Johannes Rieken 2016-11-11 17:48:50 +01:00
parent d17d29d8d1
commit 13f1ee20ac

View file

@ -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 = <JSONContributionRegistry.IJSONContributionRegistry>platform.Registry.as(JSONContributionRegistry.Extensions.JSONContribution);
schemaRegistry.registerSchema(schemaId, schema);
schemaRegistry.registerSchema(schemaId, schema);