Formatting Block Parameters

AppCode 2.1 (latest)

How do I keep this from happening?

  AFXMLRequestOperation* op = [AFXMLRequestOperation XMLParserRequestOperationWithRequest:request
                                                                                  success:^(NSURLRequest* request, NSHTTPURLResponse* response, NSError* error, NSXMLParser* XMLParser)
                                                                                  {


                                                                                  }
                                                                                  failure:^(NSURLRequest* request, NSHTTPURLResponse* response, NSError* error, NSXMLParser* XMLParser)
                                                                                  {


                                                                                  }
  ];


In this case, I would like the success and failure blocks indented two spaces (which is what I have set for Indent in my coding style parameters).

Alternately, if I could get reformat to leave whatever formatting I have used for this.

Thanks...

0

Bruce, please follow this issue and leave a comment with how you want the code to be formatted

0

Thanks Anton.

I have done this. I hope this is something that can be addressed in the next version.

Bruce

0

请先登录再写评论。