{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/che/pulls/comments/133691307","pull_request_review_id":56900669,"id":133691307,"diff_hunk":"@@ -0,0 +1,28 @@\n+/*******************************************************************************\n+ * Copyright (c) 2012-2017 Red Hat, Inc.\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http://www.eclipse.org/legal/epl-v10.html\n+ *\n+ * Contributors:\n+ *   Red Hat, Inc. - initial API and implementation\n+ *******************************************************************************/\n+package org.eclipse.che.api.languageserver.shared.util;\n+\n+import java.util.Comparator;\n+\n+import org.eclipse.lsp4j.Position;\n+\n+public class PositionComparator implements Comparator<Position> {\n+\n+\t@Override\n+\tpublic int compare(Position o1, Position o2) {","path":"wsagent/che-core-api-languageserver-shared/src/main/java/org/eclipse/che/api/languageserver/shared/util/PositionComparator.java","position":20,"original_position":20,"commit_id":"2ddb668d398f15ecc6afe57b9e5a72afeae9196a","original_commit_id":"2ddb668d398f15ecc6afe57b9e5a72afeae9196a","user":{"login":"vparfonov","id":1636592,"avatar_url":"https://avatars1.githubusercontent.com/u/1636592?v=4","gravatar_id":"","url":"https://api.github.com/users/vparfonov","html_url":"https://github.com/vparfonov","followers_url":"https://api.github.com/users/vparfonov/followers","following_url":"https://api.github.com/users/vparfonov/following{/other_user}","gists_url":"https://api.github.com/users/vparfonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vparfonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vparfonov/subscriptions","organizations_url":"https://api.github.com/users/vparfonov/orgs","repos_url":"https://api.github.com/users/vparfonov/repos","events_url":"https://api.github.com/users/vparfonov/events{/privacy}","received_events_url":"https://api.github.com/users/vparfonov/received_events","type":"User","site_admin":false},"body":"formatting issue","created_at":"2017-08-17T11:52:22Z","updated_at":"2017-08-17T11:57:29Z","html_url":"https://github.com/eclipse/che/pull/5955#discussion_r133691307","pull_request_url":"https://api.github.com/repos/eclipse/che/pulls/5955","_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments/133691307"},"html":{"href":"https://github.com/eclipse/che/pull/5955#discussion_r133691307"},"pull_request":{"href":"https://api.github.com/repos/eclipse/che/pulls/5955"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/5955","id":134888914,"html_url":"https://github.com/eclipse/che/pull/5955","diff_url":"https://github.com/eclipse/che/pull/5955.diff","patch_url":"https://github.com/eclipse/che/pull/5955.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/5955","number":5955,"state":"open","locked":false,"title":"5485 apply workspace edit","user":{"login":"tsmaeder","id":13163770,"avatar_url":"https://avatars3.githubusercontent.com/u/13163770?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmaeder","html_url":"https://github.com/tsmaeder","followers_url":"https://api.github.com/users/tsmaeder/followers","following_url":"https://api.github.com/users/tsmaeder/following{/other_user}","gists_url":"https://api.github.com/users/tsmaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmaeder/subscriptions","organizations_url":"https://api.github.com/users/tsmaeder/orgs","repos_url":"https://api.github.com/users/tsmaeder/repos","events_url":"https://api.github.com/users/tsmaeder/events{/privacy}","received_events_url":"https://api.github.com/users/tsmaeder/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nAdds a \"ApplyWorkspaceEditAction\" that applies a LSP WorkspaceEdit to many files both open in and editor or not.\r\n\r\n### What issues does this PR fix or reference?\r\n#5485 \r\n\r\n#### Changelog\r\nAdded \"ApplyWorkspaceEditAction\" to allow LSP code actions to edit multiple files at once. \r\n#### Release Notes\r\nAdded \"ApplyWorkspaceEditAction\" to allow LSP code actions to edit multiple files at once. \r\n\r\n\r\n#### Docs PR\r\nhttps://github.com/eclipse/che-docs/pull/271","created_at":"2017-08-09T13:10:29Z","updated_at":"2017-08-17T11:57:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"555d9d8d7858d34a1ae357b66fa3af107ae8af86","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/5955/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/5955/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/5955/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/2ddb668d398f15ecc6afe57b9e5a72afeae9196a","head":{"label":"tsmaeder:5485_apply_workspace_edit","ref":"5485_apply_workspace_edit","sha":"2ddb668d398f15ecc6afe57b9e5a72afeae9196a","user":{"login":"tsmaeder","id":13163770,"avatar_url":"https://avatars3.githubusercontent.com/u/13163770?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmaeder","html_url":"https://github.com/tsmaeder","followers_url":"https://api.github.com/users/tsmaeder/followers","following_url":"https://api.github.com/users/tsmaeder/following{/other_user}","gists_url":"https://api.github.com/users/tsmaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmaeder/subscriptions","organizations_url":"https://api.github.com/users/tsmaeder/orgs","repos_url":"https://api.github.com/users/tsmaeder/repos","events_url":"https://api.github.com/users/tsmaeder/events{/privacy}","received_events_url":"https://api.github.com/users/tsmaeder/received_events","type":"User","site_admin":false},"repo":{"id":81207277,"name":"che","full_name":"tsmaeder/che","owner":{"login":"tsmaeder","id":13163770,"avatar_url":"https://avatars3.githubusercontent.com/u/13163770?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmaeder","html_url":"https://github.com/tsmaeder","followers_url":"https://api.github.com/users/tsmaeder/followers","following_url":"https://api.github.com/users/tsmaeder/following{/other_user}","gists_url":"https://api.github.com/users/tsmaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmaeder/subscriptions","organizations_url":"https://api.github.com/users/tsmaeder/orgs","repos_url":"https://api.github.com/users/tsmaeder/repos","events_url":"https://api.github.com/users/tsmaeder/events{/privacy}","received_events_url":"https://api.github.com/users/tsmaeder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsmaeder/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":true,"url":"https://api.github.com/repos/tsmaeder/che","forks_url":"https://api.github.com/repos/tsmaeder/che/forks","keys_url":"https://api.github.com/repos/tsmaeder/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsmaeder/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsmaeder/che/teams","hooks_url":"https://api.github.com/repos/tsmaeder/che/hooks","issue_events_url":"https://api.github.com/repos/tsmaeder/che/issues/events{/number}","events_url":"https://api.github.com/repos/tsmaeder/che/events","assignees_url":"https://api.github.com/repos/tsmaeder/che/assignees{/user}","branches_url":"https://api.github.com/repos/tsmaeder/che/branches{/branch}","tags_url":"https://api.github.com/repos/tsmaeder/che/tags","blobs_url":"https://api.github.com/repos/tsmaeder/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsmaeder/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsmaeder/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsmaeder/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsmaeder/che/statuses/{sha}","languages_url":"https://api.github.com/repos/tsmaeder/che/languages","stargazers_url":"https://api.github.com/repos/tsmaeder/che/stargazers","contributors_url":"https://api.github.com/repos/tsmaeder/che/contributors","subscribers_url":"https://api.github.com/repos/tsmaeder/che/subscribers","subscription_url":"https://api.github.com/repos/tsmaeder/che/subscription","commits_url":"https://api.github.com/repos/tsmaeder/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsmaeder/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsmaeder/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsmaeder/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsmaeder/che/contents/{+path}","compare_url":"https://api.github.com/repos/tsmaeder/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsmaeder/che/merges","archive_url":"https://api.github.com/repos/tsmaeder/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsmaeder/che/downloads","issues_url":"https://api.github.com/repos/tsmaeder/che/issues{/number}","pulls_url":"https://api.github.com/repos/tsmaeder/che/pulls{/number}","milestones_url":"https://api.github.com/repos/tsmaeder/che/milestones{/number}","notifications_url":"https://api.github.com/repos/tsmaeder/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsmaeder/che/labels{/name}","releases_url":"https://api.github.com/repos/tsmaeder/che/releases{/id}","deployments_url":"https://api.github.com/repos/tsmaeder/che/deployments","created_at":"2017-02-07T12:47:44Z","updated_at":"2017-02-07T12:48:06Z","pushed_at":"2017-08-11T09:39:48Z","git_url":"git://github.com/tsmaeder/che.git","ssh_url":"git@github.com:tsmaeder/che.git","clone_url":"https://github.com/tsmaeder/che.git","svn_url":"https://github.com/tsmaeder/che","homepage":"http://eclipse.org/che","size":116003,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"eclipse:master","ref":"master","sha":"69d51483859d828aa285bcef324244ca236109ad","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2017-08-17T02:59:09Z","pushed_at":"2017-08-17T11:47:06Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":61406,"stargazers_count":4260,"watchers_count":4260,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":727,"mirror_url":null,"open_issues_count":457,"forks":727,"open_issues":457,"watchers":4260,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/5955"},"html":{"href":"https://github.com/eclipse/che/pull/5955"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/5955"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/5955/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/5955/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/5955/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/2ddb668d398f15ecc6afe57b9e5a72afeae9196a"}}}}
{"actor":{"display_login":"vparfonov"}}