This Question is Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
2 Replies Last post: Jul 10, 2013 5:37 PM by Bruce Vander Werf  
Bruce Vander Werf Newbie 3 posts since
Mar 15, 2013
Currently Being Moderated

Jul 9, 2013 6:17 PM

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...

Anton Makeev JetBrains 1,247 posts since
Dec 19, 2006
Currently Being Moderated
Jul 10, 2013 12:44 PM in response to: Bruce Vander Werf
Re: Formatting Block Parameters

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

More Like This

  • Retrieving data ...