{"action":"created","issue":{"url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/81","labels_url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/81/comments","events_url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/81/events","html_url":"https://github.com/travisjeffery/ClangFormat-Xcode/issues/81","id":68490377,"number":81,"title":"Bundled clang-format issue with long Objecttive-C lines","user":{"login":"kwasimensah","id":2121800,"avatar_url":"https://avatars.githubusercontent.com/u/2121800?v=3","gravatar_id":"","url":"https://api.github.com/users/kwasimensah","html_url":"https://github.com/kwasimensah","followers_url":"https://api.github.com/users/kwasimensah/followers","following_url":"https://api.github.com/users/kwasimensah/following{/other_user}","gists_url":"https://api.github.com/users/kwasimensah/gists{/gist_id}","starred_url":"https://api.github.com/users/kwasimensah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwasimensah/subscriptions","organizations_url":"https://api.github.com/users/kwasimensah/orgs","repos_url":"https://api.github.com/users/kwasimensah/repos","events_url":"https://api.github.com/users/kwasimensah/events{/privacy}","received_events_url":"https://api.github.com/users/kwasimensah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-14T20:37:28Z","updated_at":"2016-01-08T20:36:57Z","closed_at":null,"body":"I'm using a custom clang_format equivalent to  `-style=\"{BasedOnStyle: google, ContinuationIndentWidth: 4, ColumnLimit: 100, DerivePointerAlignment: false, PointerAlignment: Right, UseTab: Never}\"`\r\n\r\nUsing ClangFormat-Xcode with the bundled clang-format turns \r\n\r\n```\r\n-(BOOL)reallyLongFunctionName012345678901234567890123456789012345678:(ReallyLongTypeName012345678901234 *)vc{return NO;}\r\n```\r\ninto \r\n```\r\n- (BOOL)reallyLongFunctionName012345678901234567890123456789012345678:\r\n        (ReallyLongTypeName012345678901234 *)vc{\r\n    return NO;\r\n}\r\n```\r\n\r\n(there's an 4 extra spaces in front of  (ReallyLongTypeName012345678901234 *))  Using the system version of clang-format (version 3.7.0) installed from homebrew does the right spacing:\r\n\r\n```\r\necho \"-(BOOL)reallyLongFunctionName012345678901234567890123456789012345678:(ReallyLongTypeName012345678901234 *)vc{return NO;}\" | clang-format -style=\"{BasedOnStyle: google, ContinuationIndentWidth: 4, ColumnLimit: 100, DerivePointerAlignment: false, PointerAlignment: Right, UseTab: Never}\"\r\n```\r\n\r\nreturns \r\n\r\n```\r\n- (BOOL)reallyLongFunctionName012345678901234567890123456789012345678:\r\n    (ReallyLongTypeName012345678901234 *)vc {\r\n  return NO;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/comments/170117425","html_url":"https://github.com/travisjeffery/ClangFormat-Xcode/issues/81#issuecomment-170117425","issue_url":"https://api.github.com/repos/travisjeffery/ClangFormat-Xcode/issues/81","id":170117425,"user":{"login":"mmcdole","id":3767096,"avatar_url":"https://avatars.githubusercontent.com/u/3767096?v=3","gravatar_id":"","url":"https://api.github.com/users/mmcdole","html_url":"https://github.com/mmcdole","followers_url":"https://api.github.com/users/mmcdole/followers","following_url":"https://api.github.com/users/mmcdole/following{/other_user}","gists_url":"https://api.github.com/users/mmcdole/gists{/gist_id}","starred_url":"https://api.github.com/users/mmcdole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmcdole/subscriptions","organizations_url":"https://api.github.com/users/mmcdole/orgs","repos_url":"https://api.github.com/users/mmcdole/repos","events_url":"https://api.github.com/users/mmcdole/events{/privacy}","received_events_url":"https://api.github.com/users/mmcdole/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T20:36:57Z","updated_at":"2016-01-08T20:36:57Z","body":"Any word on this?"}}