提交 13f1ee20 编写于 作者: J Johannes Rieken

snippets - update snippet help text

上级 d17d29d8
...@@ -67,7 +67,8 @@ class OpenSnippetsAction extends actions.Action { ...@@ -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 // 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 // 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 // Example:',
'\t "Print to console": {', '\t "Print to console": {',
'\t\t"prefix": "log",', '\t\t"prefix": "log",',
...@@ -162,4 +163,4 @@ let schema: IJSONSchema = { ...@@ -162,4 +163,4 @@ let schema: IJSONSchema = {
}; };
let schemaRegistry = <JSONContributionRegistry.IJSONContributionRegistry>platform.Registry.as(JSONContributionRegistry.Extensions.JSONContribution); let schemaRegistry = <JSONContributionRegistry.IJSONContributionRegistry>platform.Registry.as(JSONContributionRegistry.Extensions.JSONContribution);
schemaRegistry.registerSchema(schemaId, schema); schemaRegistry.registerSchema(schemaId, schema);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册