{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/385","repository_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt","labels_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/385/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/385/events","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/385","id":108557418,"number":385,"title":"Incremental formatting","user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/labels/p-high","name":"p-high","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-27T20:00:43Z","updated_at":"2016-06-01T11:10:25Z","closed_at":null,"body":"We should have a formatting mode where we take a date/time as an arg and only format files which have been modified after that date/time. In conjunction with a make file or cargo plugin, that would allow us to do incremental (at the file-level) re-formatting."},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/comments/222962087","html_url":"https://github.com/rust-lang-nursery/rustfmt/issues/385#issuecomment-222962087","issue_url":"https://api.github.com/repos/rust-lang-nursery/rustfmt/issues/385","id":222962087,"user":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T11:10:25Z","updated_at":"2016-06-01T11:10:25Z","body":"It could. It is a bit less flexible since it requires a diff which means you need to be running version control. OTOH, it would be more precise and thus less code would get reformatted. It does seem a much harder problem to solve too, although obviously it is a nice thing to have in its own right."}}
{"actor":{"display_login":"nrc"}}