{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-sbt/issues/124","labels_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/124/comments","events_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/124/events","html_url":"https://github.com/ensime/ensime-sbt/issues/124","id":119895806,"number":124,"title":"all my code is reformatted!","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ensime/ensime-sbt/labels/Bug","name":"Bug","color":"ededed"},{"url":"https://api.github.com/repos/ensime/ensime-sbt/labels/FAQ","name":"FAQ","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T08:59:42Z","updated_at":"2015-12-04T00:59:25Z","closed_at":"2015-12-02T22:29:37Z","body":"If you aren't using scalariform it's this:\r\n\r\n* https://github.com/daniel-trinh/sbt-scalariform/issues/24\r\n\r\nif you are using scalariform to reformat your code, then its this:\r\n\r\n* happens if you were using https://github.com/sbt/sbt-scalariform\r\n* caused by regressions introduced in https://github.com/daniel-trinh/scalariform and https://github.com/daniel-trinh/sbt-scalariform\r\n* blocked on https://github.com/mdr/scalariform/issues/137\r\n\r\nThere is no easy workaround at the moment, but you may be lucky enough to be able to force a specific version of scalariform in your sbt build config. Ask an sbt expert."},"comment":{"url":"https://api.github.com/repos/ensime/ensime-sbt/issues/comments/161841102","html_url":"https://github.com/ensime/ensime-sbt/issues/124#issuecomment-161841102","issue_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/124","id":161841102,"user":{"login":"daniel-trinh","id":723113,"avatar_url":"https://avatars.githubusercontent.com/u/723113?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-trinh","html_url":"https://github.com/daniel-trinh","followers_url":"https://api.github.com/users/daniel-trinh/followers","following_url":"https://api.github.com/users/daniel-trinh/following{/other_user}","gists_url":"https://api.github.com/users/daniel-trinh/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-trinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-trinh/subscriptions","organizations_url":"https://api.github.com/users/daniel-trinh/orgs","repos_url":"https://api.github.com/users/daniel-trinh/repos","events_url":"https://api.github.com/users/daniel-trinh/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-trinh/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T00:59:25Z","updated_at":"2015-12-04T00:59:25Z","body":"Adding `addSbtPlugin(\"org.scalariform\" %% \"sbt-scalariform\" % \"1.5.1\")` to a project is going to by default auto format your code, this is the current intended behavior. Can you elaborate what's going on here? One thing you could potentially do is to disable the sbt-scalariform plugin on the ensime project."}}