{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/3285","labels_url":"https://api.github.com/repos/libgdx/libgdx/issues/3285/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/3285/comments","events_url":"https://api.github.com/repos/libgdx/libgdx/issues/3285/events","html_url":"https://github.com/libgdx/libgdx/issues/3285","id":95325014,"number":3285,"title":"Eclipse formatter doesn't work for Mars","user":{"login":"StrongJoshua","id":6654606,"avatar_url":"https://avatars.githubusercontent.com/u/6654606?v=3","gravatar_id":"","url":"https://api.github.com/users/StrongJoshua","html_url":"https://github.com/StrongJoshua","followers_url":"https://api.github.com/users/StrongJoshua/followers","following_url":"https://api.github.com/users/StrongJoshua/following{/other_user}","gists_url":"https://api.github.com/users/StrongJoshua/gists{/gist_id}","starred_url":"https://api.github.com/users/StrongJoshua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrongJoshua/subscriptions","organizations_url":"https://api.github.com/users/StrongJoshua/orgs","repos_url":"https://api.github.com/users/StrongJoshua/repos","events_url":"https://api.github.com/users/StrongJoshua/events{/privacy}","received_events_url":"https://api.github.com/users/StrongJoshua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-16T01:16:07Z","updated_at":"2015-07-16T14:56:28Z","closed_at":null,"body":"Not that you can't import it, but it behaves differently from Luna. The major aspect that I have noticed is that while in Luna the following code looks like this:\r\n\r\n\t\tremoveButton.addListener(new ClickListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void clicked (InputEvent event, float x, float y) {\r\n\t\t\t\teditor.remove();\r\n\t\t\t}\r\n\t\t});\r\nin Mars it looks like this:\r\n\r\n\t\tremoveButton.addListener(new ClickListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void clicked (InputEvent event, float x, float y) {\r\n\t\t\teditor.remove();\r\n\t\t\t}\r\n\t\t});\r\nAlthough this might seem minor just looking at it like this, the difference ruins commits because of how many places this change occurs. I haven't been able to find the setting to change it back, in Mars, to the way it works in Luna. Just for extra clarification, I am importing the exact same formatter to Luna and Mars, getting those respective results."},"comment":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/comments/121980746","html_url":"https://github.com/libgdx/libgdx/issues/3285#issuecomment-121980746","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/3285","id":121980746,"user":{"login":"StrongJoshua","id":6654606,"avatar_url":"https://avatars.githubusercontent.com/u/6654606?v=3","gravatar_id":"","url":"https://api.github.com/users/StrongJoshua","html_url":"https://github.com/StrongJoshua","followers_url":"https://api.github.com/users/StrongJoshua/followers","following_url":"https://api.github.com/users/StrongJoshua/following{/other_user}","gists_url":"https://api.github.com/users/StrongJoshua/gists{/gist_id}","starred_url":"https://api.github.com/users/StrongJoshua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrongJoshua/subscriptions","organizations_url":"https://api.github.com/users/StrongJoshua/orgs","repos_url":"https://api.github.com/users/StrongJoshua/repos","events_url":"https://api.github.com/users/StrongJoshua/events{/privacy}","received_events_url":"https://api.github.com/users/StrongJoshua/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T14:56:28Z","updated_at":"2015-07-16T14:56:28Z","body":"[This Stackoverflow question](http://stackoverflow.com/questions/31073603/eclipse-4-5-java-formatter-changed) (not mine) describes the same problem and has a workaround. When the poster says \"add 2\" they actually mean to add 2, so it would be 5 and 5 for indentation size and tab size, respectively.\r\n\r\nI don't know if there are any other major issues, but you might want to upload a formatter for Mars, or put a notice somewhere, so contributors don't mess up the formatting."}}