{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/36925368","id":36925368,"diff_hunk":"@@ -53,6 +54,24 @@ public override CompletionListProvider CompletionProvider\n             }\n         }\n \n+        /// <summary>\n+        /// Returns a string that should be added to the description of the given completion item\n+        /// if a snippet exists with a shortcut that matches the completion item's insertion text.\n+        /// </summary>\n+        private Task<string> GetSnippetExpansionNoteForCompletionItemAsync(CompletionItem completionItem)\n+        {\n+            var completionRules = _completionService.GetCompletionRules();\n+            var insertionText = completionRules.GetTextChange(completionItem, '\\t').NewText;","path":"src/EditorFeatures/Core/Implementation/IntelliSense/Completion/DescriptionModifyingCompletionItem.cs","position":19,"original_position":19,"commit_id":"fa0abaa4e9eb2d3fbb47ef7837a416db3e737509","original_commit_id":"fa0abaa4e9eb2d3fbb47ef7837a416db3e737509","user":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"body":"I'm not 100% sure, but I'll look into it. This is a cut and paste from ```AbstractCompletionService```.","created_at":"2015-08-12T23:05:03Z","updated_at":"2015-08-12T23:05:03Z","html_url":"https://github.com/dotnet/roslyn/pull/4519#discussion_r36925368","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/4519","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/36925368"},"html":{"href":"https://github.com/dotnet/roslyn/pull/4519#discussion_r36925368"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/4519"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/4519","id":42296454,"html_url":"https://github.com/dotnet/roslyn/pull/4519","diff_url":"https://github.com/dotnet/roslyn/pull/4519.diff","patch_url":"https://github.com/dotnet/roslyn/pull/4519.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4519","number":4519,"state":"open","locked":false,"title":"Further completion API refactoring","user":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"body":"Putting this out there to get reviewers looking at it. It's not yet complete, but some of the tangles in this code are better. Reviewers: @CyrusNajmabadi, @jasonmalinowski, @dpoeschl, @rchande, @Pilchie.","created_at":"2015-08-12T22:25:05Z","updated_at":"2015-08-12T23:05:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51ceb8949100157b367ab33f5f16f3c097aacc12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/4519/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/4519/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4519/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/fa0abaa4e9eb2d3fbb47ef7837a416db3e737509","head":{"label":"DustinCampbell:completion-triggers","ref":"completion-triggers","sha":"fa0abaa4e9eb2d3fbb47ef7837a416db3e737509","user":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"repo":{"id":30651839,"name":"roslyn","full_name":"DustinCampbell/roslyn","owner":{"login":"DustinCampbell","id":116161,"avatar_url":"https://avatars.githubusercontent.com/u/116161?v=3","gravatar_id":"","url":"https://api.github.com/users/DustinCampbell","html_url":"https://github.com/DustinCampbell","followers_url":"https://api.github.com/users/DustinCampbell/followers","following_url":"https://api.github.com/users/DustinCampbell/following{/other_user}","gists_url":"https://api.github.com/users/DustinCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/DustinCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DustinCampbell/subscriptions","organizations_url":"https://api.github.com/users/DustinCampbell/orgs","repos_url":"https://api.github.com/users/DustinCampbell/repos","events_url":"https://api.github.com/users/DustinCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/DustinCampbell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DustinCampbell/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/DustinCampbell/roslyn","forks_url":"https://api.github.com/repos/DustinCampbell/roslyn/forks","keys_url":"https://api.github.com/repos/DustinCampbell/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DustinCampbell/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DustinCampbell/roslyn/teams","hooks_url":"https://api.github.com/repos/DustinCampbell/roslyn/hooks","issue_events_url":"https://api.github.com/repos/DustinCampbell/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/DustinCampbell/roslyn/events","assignees_url":"https://api.github.com/repos/DustinCampbell/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/DustinCampbell/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/DustinCampbell/roslyn/tags","blobs_url":"https://api.github.com/repos/DustinCampbell/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DustinCampbell/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DustinCampbell/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/DustinCampbell/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DustinCampbell/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/DustinCampbell/roslyn/languages","stargazers_url":"https://api.github.com/repos/DustinCampbell/roslyn/stargazers","contributors_url":"https://api.github.com/repos/DustinCampbell/roslyn/contributors","subscribers_url":"https://api.github.com/repos/DustinCampbell/roslyn/subscribers","subscription_url":"https://api.github.com/repos/DustinCampbell/roslyn/subscription","commits_url":"https://api.github.com/repos/DustinCampbell/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/DustinCampbell/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/DustinCampbell/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/DustinCampbell/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/DustinCampbell/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/DustinCampbell/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DustinCampbell/roslyn/merges","archive_url":"https://api.github.com/repos/DustinCampbell/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DustinCampbell/roslyn/downloads","issues_url":"https://api.github.com/repos/DustinCampbell/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/DustinCampbell/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/DustinCampbell/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/DustinCampbell/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DustinCampbell/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/DustinCampbell/roslyn/releases{/id}","created_at":"2015-02-11T14:36:20Z","updated_at":"2015-04-22T18:16:20Z","pushed_at":"2015-08-12T22:19:12Z","git_url":"git://github.com/DustinCampbell/roslyn.git","ssh_url":"git@github.com:DustinCampbell/roslyn.git","clone_url":"https://github.com/DustinCampbell/roslyn.git","svn_url":"https://github.com/DustinCampbell/roslyn","homepage":"","size":90376,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"2e99fca5988819f4e9658064f93231da829c7581","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":29078997,"name":"roslyn","full_name":"dotnet/roslyn","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/roslyn","description":"The .NET Compiler Platform (\"Roslyn\") provides open-source C# and Visual Basic compilers with rich code analysis APIs.","fork":false,"url":"https://api.github.com/repos/dotnet/roslyn","forks_url":"https://api.github.com/repos/dotnet/roslyn/forks","keys_url":"https://api.github.com/repos/dotnet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/roslyn/teams","hooks_url":"https://api.github.com/repos/dotnet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dotnet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/roslyn/events","assignees_url":"https://api.github.com/repos/dotnet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/roslyn/tags","blobs_url":"https://api.github.com/repos/dotnet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dotnet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dotnet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dotnet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dotnet/roslyn/subscription","commits_url":"https://api.github.com/repos/dotnet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/roslyn/merges","archive_url":"https://api.github.com/repos/dotnet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/roslyn/downloads","issues_url":"https://api.github.com/repos/dotnet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/roslyn/releases{/id}","created_at":"2015-01-11T02:39:03Z","updated_at":"2015-08-12T14:19:22Z","pushed_at":"2015-08-12T22:32:14Z","git_url":"git://github.com/dotnet/roslyn.git","ssh_url":"git@github.com:dotnet/roslyn.git","clone_url":"https://github.com/dotnet/roslyn.git","svn_url":"https://github.com/dotnet/roslyn","homepage":"","size":163039,"stargazers_count":2997,"watchers_count":2997,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":675,"mirror_url":null,"open_issues_count":1319,"forks":675,"open_issues":1319,"watchers":2997,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/4519"},"html":{"href":"https://github.com/dotnet/roslyn/pull/4519"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/4519"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/4519/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/4519/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/4519/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/fa0abaa4e9eb2d3fbb47ef7837a416db3e737509"}}}}