{"action":"created","comment":{"url":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments/35284268","id":35284268,"diff_hunk":"@@ -15,22 +17,24 @@ final Logger _logger = new Logger('formatting');\n int get _prefLineLength =>\n     atom.config.getValue('editor.preferredLineLength', scope: ['source.dart']);\n \n+// TODO: this should be \"FormattingCommandManger\" (?), containing only logic","path":"lib/analysis/formatting.dart","position":12,"original_position":12,"commit_id":"5ed6a1d12f0f4f416f881e40107822be1ee77409","original_commit_id":"5ed6a1d12f0f4f416f881e40107822be1ee77409","user":{"login":"radicaled","id":40635,"avatar_url":"https://avatars.githubusercontent.com/u/40635?v=3","gravatar_id":"","url":"https://api.github.com/users/radicaled","html_url":"https://github.com/radicaled","followers_url":"https://api.github.com/users/radicaled/followers","following_url":"https://api.github.com/users/radicaled/following{/other_user}","gists_url":"https://api.github.com/users/radicaled/gists{/gist_id}","starred_url":"https://api.github.com/users/radicaled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radicaled/subscriptions","organizations_url":"https://api.github.com/users/radicaled/orgs","repos_url":"https://api.github.com/users/radicaled/repos","events_url":"https://api.github.com/users/radicaled/events{/privacy}","received_events_url":"https://api.github.com/users/radicaled/received_events","type":"User","site_admin":false},"body":"too lazy. leaving it for the next sucker to go through that file.","created_at":"2015-07-23T01:58:05Z","updated_at":"2015-07-23T01:58:05Z","html_url":"https://github.com/dart-atom/dartlang/pull/113#discussion_r35284268","pull_request_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments/35284268"},"html":{"href":"https://github.com/dart-atom/dartlang/pull/113#discussion_r35284268"},"pull_request":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/dart-atom/dartlang/pulls/113","id":40626602,"html_url":"https://github.com/dart-atom/dartlang/pull/113","diff_url":"https://github.com/dart-atom/dartlang/pull/113.diff","patch_url":"https://github.com/dart-atom/dartlang/pull/113.patch","issue_url":"https://api.github.com/repos/dart-atom/dartlang/issues/113","number":113,"state":"open","locked":false,"title":"Add format on save","user":{"login":"radicaled","id":40635,"avatar_url":"https://avatars.githubusercontent.com/u/40635?v=3","gravatar_id":"","url":"https://api.github.com/users/radicaled","html_url":"https://github.com/radicaled","followers_url":"https://api.github.com/users/radicaled/followers","following_url":"https://api.github.com/users/radicaled/following{/other_user}","gists_url":"https://api.github.com/users/radicaled/gists{/gist_id}","starred_url":"https://api.github.com/users/radicaled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radicaled/subscriptions","organizations_url":"https://api.github.com/users/radicaled/orgs","repos_url":"https://api.github.com/users/radicaled/repos","events_url":"https://api.github.com/users/radicaled/events{/privacy}","received_events_url":"https://api.github.com/users/radicaled/received_events","type":"User","site_admin":false},"body":"Some minor refactoring required.","created_at":"2015-07-23T00:30:31Z","updated_at":"2015-07-23T01:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a21f083b4302f8500a453de724ba378adf682ce5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/113/commits","review_comments_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/113/comments","review_comment_url":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/issues/113/comments","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/5ed6a1d12f0f4f416f881e40107822be1ee77409","head":{"label":"dart-atom:feature/add_format_on_save","ref":"feature/add_format_on_save","sha":"5ed6a1d12f0f4f416f881e40107822be1ee77409","user":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"repo":{"id":38737233,"name":"dartlang","full_name":"dart-atom/dartlang","owner":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-atom/dartlang","description":"A Dart plugin for Atom.","fork":false,"url":"https://api.github.com/repos/dart-atom/dartlang","forks_url":"https://api.github.com/repos/dart-atom/dartlang/forks","keys_url":"https://api.github.com/repos/dart-atom/dartlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-atom/dartlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-atom/dartlang/teams","hooks_url":"https://api.github.com/repos/dart-atom/dartlang/hooks","issue_events_url":"https://api.github.com/repos/dart-atom/dartlang/issues/events{/number}","events_url":"https://api.github.com/repos/dart-atom/dartlang/events","assignees_url":"https://api.github.com/repos/dart-atom/dartlang/assignees{/user}","branches_url":"https://api.github.com/repos/dart-atom/dartlang/branches{/branch}","tags_url":"https://api.github.com/repos/dart-atom/dartlang/tags","blobs_url":"https://api.github.com/repos/dart-atom/dartlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-atom/dartlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-atom/dartlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-atom/dartlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-atom/dartlang/languages","stargazers_url":"https://api.github.com/repos/dart-atom/dartlang/stargazers","contributors_url":"https://api.github.com/repos/dart-atom/dartlang/contributors","subscribers_url":"https://api.github.com/repos/dart-atom/dartlang/subscribers","subscription_url":"https://api.github.com/repos/dart-atom/dartlang/subscription","commits_url":"https://api.github.com/repos/dart-atom/dartlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-atom/dartlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-atom/dartlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-atom/dartlang/contents/{+path}","compare_url":"https://api.github.com/repos/dart-atom/dartlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-atom/dartlang/merges","archive_url":"https://api.github.com/repos/dart-atom/dartlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-atom/dartlang/downloads","issues_url":"https://api.github.com/repos/dart-atom/dartlang/issues{/number}","pulls_url":"https://api.github.com/repos/dart-atom/dartlang/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-atom/dartlang/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-atom/dartlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-atom/dartlang/labels{/name}","releases_url":"https://api.github.com/repos/dart-atom/dartlang/releases{/id}","created_at":"2015-07-08T06:49:44Z","updated_at":"2015-07-22T21:07:57Z","pushed_at":"2015-07-23T00:30:32Z","git_url":"git://github.com/dart-atom/dartlang.git","ssh_url":"git@github.com:dart-atom/dartlang.git","clone_url":"https://github.com/dart-atom/dartlang.git","svn_url":"https://github.com/dart-atom/dartlang","homepage":"","size":3550,"stargazers_count":15,"watchers_count":15,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":45,"forks":3,"open_issues":45,"watchers":15,"default_branch":"master"}},"base":{"label":"dart-atom:master","ref":"master","sha":"923a0ec7e5c23e267b966d2b7a9c097b596e692a","user":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"repo":{"id":38737233,"name":"dartlang","full_name":"dart-atom/dartlang","owner":{"login":"dart-atom","id":13003945,"avatar_url":"https://avatars.githubusercontent.com/u/13003945?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-atom","html_url":"https://github.com/dart-atom","followers_url":"https://api.github.com/users/dart-atom/followers","following_url":"https://api.github.com/users/dart-atom/following{/other_user}","gists_url":"https://api.github.com/users/dart-atom/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-atom/subscriptions","organizations_url":"https://api.github.com/users/dart-atom/orgs","repos_url":"https://api.github.com/users/dart-atom/repos","events_url":"https://api.github.com/users/dart-atom/events{/privacy}","received_events_url":"https://api.github.com/users/dart-atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-atom/dartlang","description":"A Dart plugin for Atom.","fork":false,"url":"https://api.github.com/repos/dart-atom/dartlang","forks_url":"https://api.github.com/repos/dart-atom/dartlang/forks","keys_url":"https://api.github.com/repos/dart-atom/dartlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-atom/dartlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-atom/dartlang/teams","hooks_url":"https://api.github.com/repos/dart-atom/dartlang/hooks","issue_events_url":"https://api.github.com/repos/dart-atom/dartlang/issues/events{/number}","events_url":"https://api.github.com/repos/dart-atom/dartlang/events","assignees_url":"https://api.github.com/repos/dart-atom/dartlang/assignees{/user}","branches_url":"https://api.github.com/repos/dart-atom/dartlang/branches{/branch}","tags_url":"https://api.github.com/repos/dart-atom/dartlang/tags","blobs_url":"https://api.github.com/repos/dart-atom/dartlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-atom/dartlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-atom/dartlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-atom/dartlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-atom/dartlang/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-atom/dartlang/languages","stargazers_url":"https://api.github.com/repos/dart-atom/dartlang/stargazers","contributors_url":"https://api.github.com/repos/dart-atom/dartlang/contributors","subscribers_url":"https://api.github.com/repos/dart-atom/dartlang/subscribers","subscription_url":"https://api.github.com/repos/dart-atom/dartlang/subscription","commits_url":"https://api.github.com/repos/dart-atom/dartlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-atom/dartlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-atom/dartlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-atom/dartlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-atom/dartlang/contents/{+path}","compare_url":"https://api.github.com/repos/dart-atom/dartlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-atom/dartlang/merges","archive_url":"https://api.github.com/repos/dart-atom/dartlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-atom/dartlang/downloads","issues_url":"https://api.github.com/repos/dart-atom/dartlang/issues{/number}","pulls_url":"https://api.github.com/repos/dart-atom/dartlang/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-atom/dartlang/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-atom/dartlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-atom/dartlang/labels{/name}","releases_url":"https://api.github.com/repos/dart-atom/dartlang/releases{/id}","created_at":"2015-07-08T06:49:44Z","updated_at":"2015-07-22T21:07:57Z","pushed_at":"2015-07-23T00:30:32Z","git_url":"git://github.com/dart-atom/dartlang.git","ssh_url":"git@github.com:dart-atom/dartlang.git","clone_url":"https://github.com/dart-atom/dartlang.git","svn_url":"https://github.com/dart-atom/dartlang","homepage":"","size":3550,"stargazers_count":15,"watchers_count":15,"language":"Dart","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":45,"forks":3,"open_issues":45,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/113"},"html":{"href":"https://github.com/dart-atom/dartlang/pull/113"},"issue":{"href":"https://api.github.com/repos/dart-atom/dartlang/issues/113"},"comments":{"href":"https://api.github.com/repos/dart-atom/dartlang/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-atom/dartlang/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/dart-atom/dartlang/statuses/5ed6a1d12f0f4f416f881e40107822be1ee77409"}}}}