Commenting out Obj-C code

Hey guys,

Is there any way to configure "comment with line comment" command to align comments with the code?

So instead of getting this:

- (void)foo {
     [self bar]
//     [self baz]
     [self bam]
}


is it possible to get this:

- (void)foo {
     [self bar]
     // [self baz]
     [self bam]
}



Thank you.
4 comments
Comment actions Permalink

Didn't this used to work in Appcode? I remember thinking that this was one of the differences in behaviors from XCode that i really liked!  (as opposed to the Command-E behavior.)

Seems like a recent change.

UGH.  I hate the way XCode, and now AppCode do this comment thing.

0
Comment actions Permalink

David, for my knowledge it never worked like you are describing.
You can workaround the problem, though, please see my comment to the issue.

0
Comment actions Permalink

That's odd.  I've been using Appcode (happily!) for more than 6 months now, and this is a clear memory etched in my mind, paritally because of the difference with XCode.  And it was with one of the recent versions of 1.5 that I feel like it has changed.

Thanks for the workaround, I'll give it a try!

0

Please sign in to leave a comment.