{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-java-format/issues/3","labels_url":"https://api.github.com/repos/google/google-java-format/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/google/google-java-format/issues/3/comments","events_url":"https://api.github.com/repos/google/google-java-format/issues/3/events","html_url":"https://github.com/google/google-java-format/issues/3","id":76764641,"number":3,"title":"Provide IntelliJ Code Styles XML","user":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T15:39:05Z","updated_at":"2015-05-15T15:53:33Z","closed_at":null,"body":"Square has a GitHub project that configures IntelliJ just the way we like it:\r\nhttps://github.com/square/java-code-styles\r\n\r\nSince a lot of users of this project will also be IntelliJ users, it would be quite excellent if the two tools would not conflict with each other on mechanical reformatting. The Square styles above are _almost_ exactly perfect, though there are some tiny differences.\r\n\r\nLike these:\r\n  `new String[] { \"a\" }`\r\n  `new String[]{ \"a\" }`\r\n\r\nA definitive single source of truth for IntelliJ would be handy."},"comment":{"url":"https://api.github.com/repos/google/google-java-format/issues/comments/102444490","html_url":"https://github.com/google/google-java-format/issues/3#issuecomment-102444490","issue_url":"https://api.github.com/repos/google/google-java-format/issues/3","id":102444490,"user":{"login":"kevinb9n","id":934551,"avatar_url":"https://avatars.githubusercontent.com/u/934551?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb9n","html_url":"https://github.com/kevinb9n","followers_url":"https://api.github.com/users/kevinb9n/followers","following_url":"https://api.github.com/users/kevinb9n/following{/other_user}","gists_url":"https://api.github.com/users/kevinb9n/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb9n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb9n/subscriptions","organizations_url":"https://api.github.com/users/kevinb9n/orgs","repos_url":"https://api.github.com/users/kevinb9n/repos","events_url":"https://api.github.com/users/kevinb9n/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb9n/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T15:53:32Z","updated_at":"2015-05-15T15:53:32Z","body":"Right, we have a volunteer who claims he will figure out how to hook it\ninto IntelliJ, though I think there's probably still value in setting the\nIntelliJ settings as close as we can, for the benefit of its type-as-you-go\nindenting, which won't be running our formatter all the time.\n\nOn Fri, May 15, 2015 at 8:46 AM, Colin Decker <notifications@github.com>\nwrote:\n\n> Isn't the whole reason this formatter exists that configurable formatters\n> like Eclipse's and IntelliJ's are incapable of of formatting just as we\n> want? I'd think what we really need would a plugin to completely replace\n> IntelliJ's formatter with this one, though I have no idea if that's\n> possible with IntelliJ's plugin architecture.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/google/google-java-format/issues/3#issuecomment-102441863>\n> .\n>\n\n\n\n-- \nKevin Bourrillion | Java Librarian | Google, Inc. | kevinb@google.com\n"}}