{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/226503432","pull_request_review_id":166342315,"id":226503432,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjUwMzQzMg==","diff_hunk":"@@ -123,11 +127,18 @@ protected override async Task LoadComponentsAsync(CancellationToken cancellation\n             // the appropriate task scheduler to report events on.\n             this.ComponentModel.GetService<MiscellaneousFilesWorkspace>();\n \n-            LoadAnalyzerNodeComponents();\n+            LoadAnalyzerNodeComponents();            \n \n             LoadComponentsBackgroundAsync(cancellationToken).Forget();\n         }\n \n+        private void RegisterCodeCleanupProvider()\n+        {\n+            var regService = ComponentModel.GetService<ICodeCleanUpFixerRegistrationService>();\n+            var provider = ComponentModel.GetService<CodeCleanUpFixerProvider>();\n+            regService.TryRegisterFixerProvider(provider);","path":"src/VisualStudio/Core/Def/RoslynPackage.cs","position":28,"original_position":43,"commit_id":"c6c91360113151bb5f01f1e35e3ecb8d89d9a756","original_commit_id":"92118a29fbff5c7182c81a0d7d2268862ef46eca","user":{"login":"sharwell","id":1408396,"node_id":"MDQ6VXNlcjE0MDgzOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"body":":arrow_right: Per @olegtk, the service does not automatically import instances of `ICodeCleanUpFixerProvider`.","created_at":"2018-10-19T00:17:23Z","updated_at":"2018-10-19T00:17:23Z","html_url":"https://github.com/dotnet/roslyn/pull/30039#discussion_r226503432","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30039","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/226503432"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30039#discussion_r226503432"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30039"}},"in_reply_to_id":221994603},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/30039","id":216822995,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2ODIyOTk1","html_url":"https://github.com/dotnet/roslyn/pull/30039","diff_url":"https://github.com/dotnet/roslyn/pull/30039.diff","patch_url":"https://github.com/dotnet/roslyn/pull/30039.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/30039","number":30039,"state":"open","locked":false,"title":"one click code cleanup","user":{"login":"JieCarolHu","id":17056651,"node_id":"MDQ6VXNlcjE3MDU2NjUx","avatar_url":"https://avatars1.githubusercontent.com/u/17056651?v=4","gravatar_id":"","url":"https://api.github.com/users/JieCarolHu","html_url":"https://github.com/JieCarolHu","followers_url":"https://api.github.com/users/JieCarolHu/followers","following_url":"https://api.github.com/users/JieCarolHu/following{/other_user}","gists_url":"https://api.github.com/users/JieCarolHu/gists{/gist_id}","starred_url":"https://api.github.com/users/JieCarolHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JieCarolHu/subscriptions","organizations_url":"https://api.github.com/users/JieCarolHu/orgs","repos_url":"https://api.github.com/users/JieCarolHu/repos","events_url":"https://api.github.com/users/JieCarolHu/events{/privacy}","received_events_url":"https://api.github.com/users/JieCarolHu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-20T01:52:51Z","updated_at":"2018-10-19T00:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e4b4e20f4324f76b0f87e985011e06e0183fd12","assignee":{"login":"sharwell","id":1408396,"node_id":"MDQ6VXNlcjE0MDgzOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false},"assignees":[{"login":"sharwell","id":1408396,"node_id":"MDQ6VXNlcjE0MDgzOTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1408396?v=4","gravatar_id":"","url":"https://api.github.com/users/sharwell","html_url":"https://github.com/sharwell","followers_url":"https://api.github.com/users/sharwell/followers","following_url":"https://api.github.com/users/sharwell/following{/other_user}","gists_url":"https://api.github.com/users/sharwell/gists{/gist_id}","starred_url":"https://api.github.com/users/sharwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharwell/subscriptions","organizations_url":"https://api.github.com/users/sharwell/orgs","repos_url":"https://api.github.com/users/sharwell/repos","events_url":"https://api.github.com/users/sharwell/events{/privacy}","received_events_url":"https://api.github.com/users/sharwell/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[{"name":"roslyn-compiler","id":1803172,"node_id":"MDQ6VGVhbTE4MDMxNzI=","slug":"roslyn-compiler","description":"Roslyn Compiler Team","privacy":"closed","url":"https://api.github.com/teams/1803172","members_url":"https://api.github.com/teams/1803172/members{/member}","repositories_url":"https://api.github.com/teams/1803172/repos","permission":"pull"}],"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30039/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/30039/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/30039/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/c6c91360113151bb5f01f1e35e3ecb8d89d9a756","head":{"label":"JieCarolHu:oneclickCleanup","ref":"oneclickCleanup","sha":"c6c91360113151bb5f01f1e35e3ecb8d89d9a756","user":{"login":"JieCarolHu","id":17056651,"node_id":"MDQ6VXNlcjE3MDU2NjUx","avatar_url":"https://avatars1.githubusercontent.com/u/17056651?v=4","gravatar_id":"","url":"https://api.github.com/users/JieCarolHu","html_url":"https://github.com/JieCarolHu","followers_url":"https://api.github.com/users/JieCarolHu/followers","following_url":"https://api.github.com/users/JieCarolHu/following{/other_user}","gists_url":"https://api.github.com/users/JieCarolHu/gists{/gist_id}","starred_url":"https://api.github.com/users/JieCarolHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JieCarolHu/subscriptions","organizations_url":"https://api.github.com/users/JieCarolHu/orgs","repos_url":"https://api.github.com/users/JieCarolHu/repos","events_url":"https://api.github.com/users/JieCarolHu/events{/privacy}","received_events_url":"https://api.github.com/users/JieCarolHu/received_events","type":"User","site_admin":false},"repo":{"id":117298628,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyOTg2Mjg=","name":"roslyn","full_name":"JieCarolHu/roslyn","private":false,"owner":{"login":"JieCarolHu","id":17056651,"node_id":"MDQ6VXNlcjE3MDU2NjUx","avatar_url":"https://avatars1.githubusercontent.com/u/17056651?v=4","gravatar_id":"","url":"https://api.github.com/users/JieCarolHu","html_url":"https://github.com/JieCarolHu","followers_url":"https://api.github.com/users/JieCarolHu/followers","following_url":"https://api.github.com/users/JieCarolHu/following{/other_user}","gists_url":"https://api.github.com/users/JieCarolHu/gists{/gist_id}","starred_url":"https://api.github.com/users/JieCarolHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JieCarolHu/subscriptions","organizations_url":"https://api.github.com/users/JieCarolHu/orgs","repos_url":"https://api.github.com/users/JieCarolHu/repos","events_url":"https://api.github.com/users/JieCarolHu/events{/privacy}","received_events_url":"https://api.github.com/users/JieCarolHu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JieCarolHu/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/JieCarolHu/roslyn","forks_url":"https://api.github.com/repos/JieCarolHu/roslyn/forks","keys_url":"https://api.github.com/repos/JieCarolHu/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JieCarolHu/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JieCarolHu/roslyn/teams","hooks_url":"https://api.github.com/repos/JieCarolHu/roslyn/hooks","issue_events_url":"https://api.github.com/repos/JieCarolHu/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/JieCarolHu/roslyn/events","assignees_url":"https://api.github.com/repos/JieCarolHu/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/JieCarolHu/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/JieCarolHu/roslyn/tags","blobs_url":"https://api.github.com/repos/JieCarolHu/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JieCarolHu/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JieCarolHu/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/JieCarolHu/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JieCarolHu/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/JieCarolHu/roslyn/languages","stargazers_url":"https://api.github.com/repos/JieCarolHu/roslyn/stargazers","contributors_url":"https://api.github.com/repos/JieCarolHu/roslyn/contributors","subscribers_url":"https://api.github.com/repos/JieCarolHu/roslyn/subscribers","subscription_url":"https://api.github.com/repos/JieCarolHu/roslyn/subscription","commits_url":"https://api.github.com/repos/JieCarolHu/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/JieCarolHu/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/JieCarolHu/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/JieCarolHu/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/JieCarolHu/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/JieCarolHu/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JieCarolHu/roslyn/merges","archive_url":"https://api.github.com/repos/JieCarolHu/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JieCarolHu/roslyn/downloads","issues_url":"https://api.github.com/repos/JieCarolHu/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/JieCarolHu/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/JieCarolHu/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/JieCarolHu/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JieCarolHu/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/JieCarolHu/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/JieCarolHu/roslyn/deployments","created_at":"2018-01-12T23:44:20Z","updated_at":"2018-01-12T23:45:01Z","pushed_at":"2018-10-18T23:36:05Z","git_url":"git://github.com/JieCarolHu/roslyn.git","ssh_url":"git@github.com:JieCarolHu/roslyn.git","clone_url":"https://github.com/JieCarolHu/roslyn.git","svn_url":"https://github.com/JieCarolHu/roslyn","homepage":"","size":387063,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:dev16.0.x-vs-deps","ref":"dev16.0.x-vs-deps","sha":"c3c91255b104bd1e1c4c6e19f28de26a767de443","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyOTA3ODk5Nw==","name":"roslyn","full_name":"dotnet/roslyn","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","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},"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}","deployments_url":"https://api.github.com/repos/dotnet/roslyn/deployments","created_at":"2015-01-11T02:39:03Z","updated_at":"2018-10-18T23:00:37Z","pushed_at":"2018-10-19T00:05:31Z","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":470200,"stargazers_count":10206,"watchers_count":10206,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2426,"mirror_url":null,"archived":false,"open_issues_count":5344,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2426,"open_issues":5344,"watchers":10206,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30039"},"html":{"href":"https://github.com/dotnet/roslyn/pull/30039"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30039"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/30039/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30039/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/30039/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/c6c91360113151bb5f01f1e35e3ecb8d89d9a756"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sharwell"}}