{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/168840860","pull_request_review_id":97280619,"id":168840860,"diff_hunk":"@@ -547,6 +551,27 @@ namespace ts.server.protocol {\n         renameFilename?: string;\r\n     }\r\n \r\n+    /**\r","path":"src/server/protocol.ts","position":15,"original_position":15,"commit_id":"0c2babc5259a8293702568ee39d8379bbc664807","original_commit_id":"0c2babc5259a8293702568ee39d8379bbc664807","user":{"login":"andy-ms","id":19274678,"avatar_url":"https://avatars3.githubusercontent.com/u/19274678?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-ms","html_url":"https://github.com/andy-ms","followers_url":"https://api.github.com/users/andy-ms/followers","following_url":"https://api.github.com/users/andy-ms/following{/other_user}","gists_url":"https://api.github.com/users/andy-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-ms/subscriptions","organizations_url":"https://api.github.com/users/andy-ms/orgs","repos_url":"https://api.github.com/users/andy-ms/repos","events_url":"https://api.github.com/users/andy-ms/events{/privacy}","received_events_url":"https://api.github.com/users/andy-ms/received_events","type":"User","site_admin":false},"body":"This comment might be better in `organizeImports.ts` (the non-test one).","created_at":"2018-02-16T18:53:43Z","updated_at":"2018-02-16T18:53:43Z","html_url":"https://github.com/Microsoft/TypeScript/pull/21909#discussion_r168840860","pull_request_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments/168840860"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/21909#discussion_r168840860"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909","id":168713166,"html_url":"https://github.com/Microsoft/TypeScript/pull/21909","diff_url":"https://github.com/Microsoft/TypeScript/pull/21909.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/21909.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21909","number":21909,"state":"open","locked":false,"title":"Introduce an organizeImports command","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars2.githubusercontent.com/u/10508071?v=4","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"body":"In phase 1, it coalesces imports from the same module and sorts the\r\nresults, but does not remove unused imports.\r\n\r\nSome trivia is lost during coalescing, but none should be duplicated.","created_at":"2018-02-12T23:09:21Z","updated_at":"2018-02-16T18:53:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1130bac3de0b3b37831a6311891b7f8d6c7d7db9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars3.githubusercontent.com/u/8000722?v=4","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/21909/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/0c2babc5259a8293702568ee39d8379bbc664807","head":{"label":"amcasey:OrganizeImports","ref":"OrganizeImports","sha":"0c2babc5259a8293702568ee39d8379bbc664807","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars2.githubusercontent.com/u/10508071?v=4","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"repo":{"id":87999863,"name":"TypeScript","full_name":"amcasey/TypeScript","owner":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars2.githubusercontent.com/u/10508071?v=4","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amcasey/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/amcasey/TypeScript","forks_url":"https://api.github.com/repos/amcasey/TypeScript/forks","keys_url":"https://api.github.com/repos/amcasey/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amcasey/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amcasey/TypeScript/teams","hooks_url":"https://api.github.com/repos/amcasey/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/amcasey/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/amcasey/TypeScript/events","assignees_url":"https://api.github.com/repos/amcasey/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/amcasey/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/amcasey/TypeScript/tags","blobs_url":"https://api.github.com/repos/amcasey/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amcasey/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amcasey/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/amcasey/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amcasey/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/amcasey/TypeScript/languages","stargazers_url":"https://api.github.com/repos/amcasey/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/amcasey/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/amcasey/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/amcasey/TypeScript/subscription","commits_url":"https://api.github.com/repos/amcasey/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/amcasey/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/amcasey/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/amcasey/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/amcasey/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/amcasey/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amcasey/TypeScript/merges","archive_url":"https://api.github.com/repos/amcasey/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amcasey/TypeScript/downloads","issues_url":"https://api.github.com/repos/amcasey/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/amcasey/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/amcasey/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/amcasey/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amcasey/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/amcasey/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/amcasey/TypeScript/deployments","created_at":"2017-04-12T02:17:19Z","updated_at":"2017-04-12T02:18:02Z","pushed_at":"2018-02-15T23:30:49Z","git_url":"git://github.com/amcasey/TypeScript.git","ssh_url":"git@github.com:amcasey/TypeScript.git","clone_url":"https://github.com/amcasey/TypeScript.git","svn_url":"https://github.com/amcasey/TypeScript","homepage":"http://www.typescriptlang.org","size":506059,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"f8f4bb8fdd01e848f9d3100a3fded7ad767b95ee","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":20929025,"name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript","forks_url":"https://api.github.com/repos/Microsoft/TypeScript/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/TypeScript/deployments","created_at":"2014-06-17T15:28:39Z","updated_at":"2018-02-16T18:39:36Z","pushed_at":"2018-02-16T18:49:05Z","git_url":"git://github.com/Microsoft/TypeScript.git","ssh_url":"git@github.com:Microsoft/TypeScript.git","clone_url":"https://github.com/Microsoft/TypeScript.git","svn_url":"https://github.com/Microsoft/TypeScript","homepage":"http://www.typescriptlang.org","size":546023,"stargazers_count":31118,"watchers_count":31118,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4561,"mirror_url":null,"archived":false,"open_issues_count":2657,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4561,"open_issues":2657,"watchers":31118,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/21909"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/21909"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/21909/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/21909/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/0c2babc5259a8293702568ee39d8379bbc664807"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"andy-ms"}}