This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Jan 9, 2013 5:09 PM by Ben Kreeger  
Ben Kreeger Newbie 4 posts since
Jan 8, 2013
Currently Being Moderated

Jan 8, 2013 10:06 PM

Block-comment documentation indent

I've searched for this, but I can't find it. Is there a way to alter the settings for new-line indents on block comments? Currently, when doing comments like this (for appledoc documentation)...

 

 

/** Builds out a common header label for use in this view controller

*  @param text the text string to use.

*/

- (UILabel *)generateTitleLabelWithText:(NSString *)text;

 

 

If left to AppCode's defaults for how it handles block comments and new lines, it would come out like this.

 

 

/** Builds out a common header label for use in this view controller

*  @param text the text string to use.

*/

- (UILabel *)generateTitleLabelWithText:(NSString *)text;

 

 

I'd like the ability to enforce the alignment of asterisks on new lines for block comments, or at least the ability to say yes, I want to indent new lines in block comments by one space. Right now, it only respects my one-space indentation if I insert a space manually on the first new line of the comment; then, new lines follow suit. Does it exist, and if not, can it be added?

Anton Makeev JetBrains 1,083 posts since
Dec 19, 2006
Currently Being Moderated
Jan 9, 2013 4:45 PM in response to: Ben Kreeger
Re: Block-comment documentation indent

Ben,

we'll fix it in one of the following updates: OC-5992, OC-4225

More Like This

  • Retrieving data ...