{"action":"created","issue":{"url":"https://api.github.com/repos/searchisko/searchisko/issues/220","labels_url":"https://api.github.com/repos/searchisko/searchisko/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/searchisko/searchisko/issues/220/comments","events_url":"https://api.github.com/repos/searchisko/searchisko/issues/220/events","html_url":"https://github.com/searchisko/searchisko/issues/220","id":58555256,"number":220,"title":"Setup code conventions (spaces vs tabs indentantion).","user":{"login":"lukas-vlcek","id":205174,"avatar_url":"https://avatars.githubusercontent.com/u/205174?v=3","gravatar_id":"","url":"https://api.github.com/users/lukas-vlcek","html_url":"https://github.com/lukas-vlcek","followers_url":"https://api.github.com/users/lukas-vlcek/followers","following_url":"https://api.github.com/users/lukas-vlcek/following{/other_user}","gists_url":"https://api.github.com/users/lukas-vlcek/gists{/gist_id}","starred_url":"https://api.github.com/users/lukas-vlcek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukas-vlcek/subscriptions","organizations_url":"https://api.github.com/users/lukas-vlcek/orgs","repos_url":"https://api.github.com/users/lukas-vlcek/repos","events_url":"https://api.github.com/users/lukas-vlcek/events{/privacy}","received_events_url":"https://api.github.com/users/lukas-vlcek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-23T08:10:07Z","updated_at":"2015-02-25T09:15:52Z","closed_at":null,"body":"It would be great to setup and (stick to) code formatting conventions. Especially spaces vs tabs indentantion. I am not sure we need full maven style checker plugin (though I am not against it) but we can start with IDE config files. However, I am not sure if there is any that can be consumed by both the Eclipse and IntelliJ IDEA. Thoughts?\r\n\r\nAs for me I strongly prefer spaces instead of tabs."},"comment":{"url":"https://api.github.com/repos/searchisko/searchisko/issues/comments/75928325","html_url":"https://github.com/searchisko/searchisko/issues/220#issuecomment-75928325","issue_url":"https://api.github.com/repos/searchisko/searchisko/issues/220","id":75928325,"user":{"login":"lkrzyzanek","id":2361054,"avatar_url":"https://avatars.githubusercontent.com/u/2361054?v=3","gravatar_id":"","url":"https://api.github.com/users/lkrzyzanek","html_url":"https://github.com/lkrzyzanek","followers_url":"https://api.github.com/users/lkrzyzanek/followers","following_url":"https://api.github.com/users/lkrzyzanek/following{/other_user}","gists_url":"https://api.github.com/users/lkrzyzanek/gists{/gist_id}","starred_url":"https://api.github.com/users/lkrzyzanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkrzyzanek/subscriptions","organizations_url":"https://api.github.com/users/lkrzyzanek/orgs","repos_url":"https://api.github.com/users/lkrzyzanek/repos","events_url":"https://api.github.com/users/lkrzyzanek/events{/privacy}","received_events_url":"https://api.github.com/users/lkrzyzanek/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T09:15:52Z","updated_at":"2015-02-25T09:15:52Z","body":"Idea already is able to import Eclipse formatter. See http://blog.jetbrains.com/idea/2014/01/intellij-idea-13-importing-code-formatter-settings-from-eclipse/\r\n\r\nSo it looks like good time to create eclipse formatter and put it into searchisko repository.\r\n\r\nI vote for tabs because it gives you freedom how to display the code. Someone likes bigger indentation (tabs -> 4 spaces) someone more compact (tabs -> 2 spaces). With spaces you cannot do anything.\r\nBut I can imagine many pros and cons for both options."}}