{"action":"created","issue":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/216","repository_url":"https://api.github.com/repos/Dart-Code/Dart-Code","labels_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/216/comments","events_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/216/events","html_url":"https://github.com/Dart-Code/Dart-Code/issues/216","id":190046303,"number":216,"title":"Adopt SnippetString API","user":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"labels":[{"id":419674526,"url":"https://api.github.com/repos/Dart-Code/Dart-Code/labels/refactor%20/%20technical","name":"refactor / technical","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-17T13:26:27Z","updated_at":"2016-12-02T15:11:20Z","closed_at":null,"body":"With the December release VS Code will have real API to define a CompletionItem that is inserted as snippet, for details see https://github.com/Microsoft/vscode/issues/3210. \r\n\r\nIn short, we now support a subset of the more common TextMate syntax: `$1`, `$2` etc define tabstops, `${1:value}` and `${2:this is${3:nested}}` placeholders, and `$0` is for the final tabstop. \r\n\r\nThe API for this is contained in a new type [`SnippetString`](https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L2035). It can be used as the `insertText` of a [CompletionItem](https://github.com/Microsoft/vscode/blob/master/src/vs/vscode.d.ts#L2364).\r\n\r\nDuring a transition phase we will still support the internal, unspecified snippet syntax your extension is using but eventually remove it (roughly 2 or 3 milestones from now). "},"comment":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/comments/264475964","html_url":"https://github.com/Dart-Code/Dart-Code/issues/216#issuecomment-264475964","issue_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/216","id":264475964,"user":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T15:11:20Z","updated_at":"2016-12-02T15:11:20Z","body":"Confirmed"}}
{"actor":{"display_login":"jrieken"}}