payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/264939847","pull_request_review_id":213717641,"id":264939847,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2NDkzOTg0Nw==","diff_hunk":"@@ -27,35 +26,15 @@ namespace Microsoft.CodeAnalysis.Editor.Implementation.CommentSelection\n     [ContentType(ContentTypeNames.RoslynContentType)]\n     [Name(PredefinedCommandHandlerNames.CommentSelection)]\n     internal class CommentUncommentSelectionCommandHandler :\n+        AbstractCommentSelectionCommandHandler,\n         VSCommanding.ICommandHandler<CommentSelectionCommandArgs>,\n         VSCommanding.ICommandHandler<UncommentSelectionCommandArgs>\n     {\n-        private readonly ITextUndoHistoryRegistry _undoHistoryRegistry;\n-        private readonly IEditorOperationsFactoryService _editorOperationsFactoryService;\n-\n         [ImportingConstructor]\n         internal CommentUncommentSelectionCommandHandler(\n             ITextUndoHistoryRegistry undoHistoryRegistry,\n-            IEditorOperationsFactoryService editorOperationsFactoryService)\n-        {\n-            Contract.ThrowIfNull(undoHistoryRegistry);\n-            Contract.ThrowIfNull(editorOperationsFactoryService);\n-\n-            _undoHistoryRegistry = undoHistoryRegistry;\n-            _editorOperationsFactoryService = editorOperationsFactoryService;\n-        }\n-\n-        public string DisplayName => EditorFeaturesResources.Comment_Uncomment_Selection;\n-\n-        private static VSCommanding.CommandState GetCommandState(ITextBuffer buffer)\n-        {\n-            if (!buffer.CanApplyChangeDocumentToWorkspace())\n-            {\n-                return VSCommanding.CommandState.Unspecified;\n-            }\n-\n-            return VSCommanding.CommandState.Available;\n-        }\n+            IEditorOperationsFactoryService editorOperationsFactoryService) : base(undoHistoryRegistry, editorOperationsFactoryService)\n+        { }","path":"src/EditorFeatures/Core/Implementation/CommentSelection/CommentUncommentSelectionCommandHandler.cs","position":43,"original_position":43,"commit_id":"288cf4eb7c8a791577c46e79cb5036d6f79bf459","original_commit_id":"288cf4eb7c8a791577c46e79cb5036d6f79bf459","user":{"login":"CyrusNajmabadi","id":4564579,"node_id":"MDQ6VXNlcjQ1NjQ1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4564579?v=4","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"body":"separate lines please.","created_at":"2019-03-13T00:50:41Z","updated_at":"2019-03-13T00:50:42Z","html_url":"https://github.com/dotnet/roslyn/pull/34066#discussion_r264939847","pull_request_url":"https://api.github.com/repos/dotnet/roslyn/pulls/34066","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments/264939847"},"html":{"href":"https://github.com/dotnet/roslyn/pull/34066#discussion_r264939847"},"pull_request":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/34066"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/34066","id":260585083,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYwNTg1MDgz","html_url":"https://github.com/dotnet/roslyn/pull/34066","diff_url":"https://github.com/dotnet/roslyn/pull/34066.diff","patch_url":"https://github.com/dotnet/roslyn/pull/34066.patch","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/34066","number":34066,"state":"open","locked":false,"title":"Add command handler for toggle block comment and refactor comment uncomment handler.","user":{"login":"dibarbet","id":5749229,"node_id":"MDQ6VXNlcjU3NDkyMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/5749229?v=4","gravatar_id":"","url":"https://api.github.com/users/dibarbet","html_url":"https://github.com/dibarbet","followers_url":"https://api.github.com/users/dibarbet/followers","following_url":"https://api.github.com/users/dibarbet/following{/other_user}","gists_url":"https://api.github.com/users/dibarbet/gists{/gist_id}","starred_url":"https://api.github.com/users/dibarbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dibarbet/subscriptions","organizations_url":"https://api.github.com/users/dibarbet/orgs","repos_url":"https://api.github.com/users/dibarbet/repos","events_url":"https://api.github.com/users/dibarbet/events{/privacy}","received_events_url":"https://api.github.com/users/dibarbet/received_events","type":"User","site_admin":false},"body":"Related to #33298\r\n\r\nImplements toggle block comment functionality.  It is currently pending the command from the editor side to be created, but I'm sending out the PR to get feedback on the implementation.  I will not push it until I've gotten the editor changes in and ready.\r\n\r\nI've been testing it by re-using the comment selection command handler.","created_at":"2019-03-13T00:36:57Z","updated_at":"2019-03-13T00:50:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e49c22ea1d54f1864bd2fef1b367d0386f3894d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"heejaechang","id":1333179,"node_id":"MDQ6VXNlcjEzMzMxNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1333179?v=4","gravatar_id":"","url":"https://api.github.com/users/heejaechang","html_url":"https://github.com/heejaechang","followers_url":"https://api.github.com/users/heejaechang/followers","following_url":"https://api.github.com/users/heejaechang/following{/other_user}","gists_url":"https://api.github.com/users/heejaechang/gists{/gist_id}","starred_url":"https://api.github.com/users/heejaechang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heejaechang/subscriptions","organizations_url":"https://api.github.com/users/heejaechang/orgs","repos_url":"https://api.github.com/users/heejaechang/repos","events_url":"https://api.github.com/users/heejaechang/events{/privacy}","received_events_url":"https://api.github.com/users/heejaechang/received_events","type":"User","site_admin":false}],"requested_teams":[{"name":"roslyn-ide","id":1781706,"node_id":"MDQ6VGVhbTE3ODE3MDY=","slug":"roslyn-ide","description":"Roslyn IDE Team","privacy":"closed","url":"https://api.github.com/teams/1781706","html_url":"https://github.com/orgs/dotnet/teams/roslyn-ide","members_url":"https://api.github.com/teams/1781706/members{/member}","repositories_url":"https://api.github.com/teams/1781706/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":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/38","html_url":"https://github.com/dotnet/roslyn/milestone/38","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/38/labels","id":3937250,"node_id":"MDk6TWlsZXN0b25lMzkzNzI1MA==","number":38,"title":"16.1","description":"","creator":{"login":"jinujoseph","id":12449387,"node_id":"MDQ6VXNlcjEyNDQ5Mzg3","avatar_url":"https://avatars3.githubusercontent.com/u/12449387?v=4","gravatar_id":"","url":"https://api.github.com/users/jinujoseph","html_url":"https://github.com/jinujoseph","followers_url":"https://api.github.com/users/jinujoseph/followers","following_url":"https://api.github.com/users/jinujoseph/following{/other_user}","gists_url":"https://api.github.com/users/jinujoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/jinujoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinujoseph/subscriptions","organizations_url":"https://api.github.com/users/jinujoseph/orgs","repos_url":"https://api.github.com/users/jinujoseph/repos","events_url":"https://api.github.com/users/jinujoseph/events{/privacy}","received_events_url":"https://api.github.com/users/jinujoseph/received_events","type":"User","site_admin":false},"open_issues":603,"closed_issues":77,"state":"open","created_at":"2019-01-02T19:37:00Z","updated_at":"2019-03-13T00:36:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/roslyn/pulls/34066/commits","review_comments_url":"https://api.github.com/repos/dotnet/roslyn/pulls/34066/comments","review_comment_url":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/34066/comments","statuses_url":"https://api.github.com/repos/dotnet/roslyn/statuses/288cf4eb7c8a791577c46e79cb5036d6f79bf459","head":{"label":"dibarbet:toggle_block_comment","ref":"toggle_block_comment","sha":"288cf4eb7c8a791577c46e79cb5036d6f79bf459","user":{"login":"dibarbet","id":5749229,"node_id":"MDQ6VXNlcjU3NDkyMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/5749229?v=4","gravatar_id":"","url":"https://api.github.com/users/dibarbet","html_url":"https://github.com/dibarbet","followers_url":"https://api.github.com/users/dibarbet/followers","following_url":"https://api.github.com/users/dibarbet/following{/other_user}","gists_url":"https://api.github.com/users/dibarbet/gists{/gist_id}","starred_url":"https://api.github.com/users/dibarbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dibarbet/subscriptions","organizations_url":"https://api.github.com/users/dibarbet/orgs","repos_url":"https://api.github.com/users/dibarbet/repos","events_url":"https://api.github.com/users/dibarbet/events{/privacy}","received_events_url":"https://api.github.com/users/dibarbet/received_events","type":"User","site_admin":false},"repo":{"id":164911666,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQ5MTE2NjY=","name":"roslyn","full_name":"dibarbet/roslyn","private":false,"owner":{"login":"dibarbet","id":5749229,"node_id":"MDQ6VXNlcjU3NDkyMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/5749229?v=4","gravatar_id":"","url":"https://api.github.com/users/dibarbet","html_url":"https://github.com/dibarbet","followers_url":"https://api.github.com/users/dibarbet/followers","following_url":"https://api.github.com/users/dibarbet/following{/other_user}","gists_url":"https://api.github.com/users/dibarbet/gists{/gist_id}","starred_url":"https://api.github.com/users/dibarbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dibarbet/subscriptions","organizations_url":"https://api.github.com/users/dibarbet/orgs","repos_url":"https://api.github.com/users/dibarbet/repos","events_url":"https://api.github.com/users/dibarbet/events{/privacy}","received_events_url":"https://api.github.com/users/dibarbet/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dibarbet/roslyn","description":"The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.","fork":true,"url":"https://api.github.com/repos/dibarbet/roslyn","forks_url":"https://api.github.com/repos/dibarbet/roslyn/forks","keys_url":"https://api.github.com/repos/dibarbet/roslyn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dibarbet/roslyn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dibarbet/roslyn/teams","hooks_url":"https://api.github.com/repos/dibarbet/roslyn/hooks","issue_events_url":"https://api.github.com/repos/dibarbet/roslyn/issues/events{/number}","events_url":"https://api.github.com/repos/dibarbet/roslyn/events","assignees_url":"https://api.github.com/repos/dibarbet/roslyn/assignees{/user}","branches_url":"https://api.github.com/repos/dibarbet/roslyn/branches{/branch}","tags_url":"https://api.github.com/repos/dibarbet/roslyn/tags","blobs_url":"https://api.github.com/repos/dibarbet/roslyn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dibarbet/roslyn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dibarbet/roslyn/git/refs{/sha}","trees_url":"https://api.github.com/repos/dibarbet/roslyn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dibarbet/roslyn/statuses/{sha}","languages_url":"https://api.github.com/repos/dibarbet/roslyn/languages","stargazers_url":"https://api.github.com/repos/dibarbet/roslyn/stargazers","contributors_url":"https://api.github.com/repos/dibarbet/roslyn/contributors","subscribers_url":"https://api.github.com/repos/dibarbet/roslyn/subscribers","subscription_url":"https://api.github.com/repos/dibarbet/roslyn/subscription","commits_url":"https://api.github.com/repos/dibarbet/roslyn/commits{/sha}","git_commits_url":"https://api.github.com/repos/dibarbet/roslyn/git/commits{/sha}","comments_url":"https://api.github.com/repos/dibarbet/roslyn/comments{/number}","issue_comment_url":"https://api.github.com/repos/dibarbet/roslyn/issues/comments{/number}","contents_url":"https://api.github.com/repos/dibarbet/roslyn/contents/{+path}","compare_url":"https://api.github.com/repos/dibarbet/roslyn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dibarbet/roslyn/merges","archive_url":"https://api.github.com/repos/dibarbet/roslyn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dibarbet/roslyn/downloads","issues_url":"https://api.github.com/repos/dibarbet/roslyn/issues{/number}","pulls_url":"https://api.github.com/repos/dibarbet/roslyn/pulls{/number}","milestones_url":"https://api.github.com/repos/dibarbet/roslyn/milestones{/number}","notifications_url":"https://api.github.com/repos/dibarbet/roslyn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dibarbet/roslyn/labels{/name}","releases_url":"https://api.github.com/repos/dibarbet/roslyn/releases{/id}","deployments_url":"https://api.github.com/repos/dibarbet/roslyn/deployments","created_at":"2019-01-09T17:56:10Z","updated_at":"2019-03-12T21:08:41Z","pushed_at":"2019-03-13T00:28:52Z","git_url":"git://github.com/dibarbet/roslyn.git","ssh_url":"git@github.com:dibarbet/roslyn.git","clone_url":"https://github.com/dibarbet/roslyn.git","svn_url":"https://github.com/dibarbet/roslyn","homepage":"https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/","size":564134,"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:master","ref":"master","sha":"357274740c1109211ee2149b01f90b00ce2c66e4","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 Roslyn .NET compiler provides C# and Visual Basic languages 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":"2019-03-13T00:03:47Z","pushed_at":"2019-03-13T00:36:57Z","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":"https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/","size":580483,"stargazers_count":11010,"watchers_count":11010,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2586,"mirror_url":null,"archived":false,"open_issues_count":5734,"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":2586,"open_issues":5734,"watchers":11010,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/34066"},"html":{"href":"https://github.com/dotnet/roslyn/pull/34066"},"issue":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/34066"},"comments":{"href":"https://api.github.com/repos/dotnet/roslyn/issues/34066/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/34066/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/roslyn/pulls/34066/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/roslyn/statuses/288cf4eb7c8a791577c46e79cb5036d6f79bf459"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"CyrusNajmabadi"}}