{"action":"created","issue":{"url":"https://api.github.com/repos/otr4j/otr4j/issues/37","labels_url":"https://api.github.com/repos/otr4j/otr4j/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/otr4j/otr4j/issues/37/comments","events_url":"https://api.github.com/repos/otr4j/otr4j/issues/37/events","html_url":"https://github.com/otr4j/otr4j/pull/37","id":58525654,"number":37,"title":"Provide pre-configured IDE projects","user":{"login":"languitar","id":1336287,"avatar_url":"https://avatars.githubusercontent.com/u/1336287?v=3","gravatar_id":"","url":"https://api.github.com/users/languitar","html_url":"https://github.com/languitar","followers_url":"https://api.github.com/users/languitar/followers","following_url":"https://api.github.com/users/languitar/following{/other_user}","gists_url":"https://api.github.com/users/languitar/gists{/gist_id}","starred_url":"https://api.github.com/users/languitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/languitar/subscriptions","organizations_url":"https://api.github.com/users/languitar/orgs","repos_url":"https://api.github.com/users/languitar/repos","events_url":"https://api.github.com/users/languitar/events{/privacy}","received_events_url":"https://api.github.com/users/languitar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T22:59:52Z","updated_at":"2015-02-22T23:14:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/otr4j/otr4j/pulls/37","html_url":"https://github.com/otr4j/otr4j/pull/37","diff_url":"https://github.com/otr4j/otr4j/pull/37.diff","patch_url":"https://github.com/otr4j/otr4j/pull/37.patch"},"body":"This pull requests adds pre-configured projects for Eclipse, Netbeans and IntelliJ as well as the astyle formatter to the code base. The rationale is that we can enforce consistent coding conventions much better when people can clone the repo and immediately get an IDE configuration that matches the desired code style and includes the required reporting plugins (ie. checkstyle and PMD). Instructions on how to use all of these projects have been added to the `README.markdown` file.\r\n\r\nFor the IntelliJ IDEA project someone who is using this IDE (@cobratbq ?) should ideally have a look at it once before merging, since I am not a regular user of that IDE and I might have missed some bits and pieces.\r\n\r\nIt is also worth noting that astyle produces some really strange things when formatting java which simply cannot be configured (e.g. no indentation when wrapping throws statements to the next line). So while it would be generally desirable to have an IDE-independent formatter as a baseline, this isn't possible with astyle at the moment (at least if the source code should following understandable conventions). I have included the configuration anyway since it might help someone to get closer to something usable in less time then performing all cleanup manually.\r\n\r\nApart from the actual IDE configuration I have also included a few fixes to the checkstyle configuration which I discovered while preparing the IDE projects."},"comment":{"url":"https://api.github.com/repos/otr4j/otr4j/issues/comments/75470166","html_url":"https://github.com/otr4j/otr4j/pull/37#issuecomment-75470166","issue_url":"https://api.github.com/repos/otr4j/otr4j/issues/37","id":75470166,"user":{"login":"cobratbq","id":1936470,"avatar_url":"https://avatars.githubusercontent.com/u/1936470?v=3","gravatar_id":"","url":"https://api.github.com/users/cobratbq","html_url":"https://github.com/cobratbq","followers_url":"https://api.github.com/users/cobratbq/followers","following_url":"https://api.github.com/users/cobratbq/following{/other_user}","gists_url":"https://api.github.com/users/cobratbq/gists{/gist_id}","starred_url":"https://api.github.com/users/cobratbq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobratbq/subscriptions","organizations_url":"https://api.github.com/users/cobratbq/orgs","repos_url":"https://api.github.com/users/cobratbq/repos","events_url":"https://api.github.com/users/cobratbq/events{/privacy}","received_events_url":"https://api.github.com/users/cobratbq/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T23:14:00Z","updated_at":"2015-02-22T23:14:00Z","body":"I don't use (or ever have used) IntelliJ IDEA. So someone else should check that configuration. I can have a look at Netbeans and Eclipse configurations."}}