How to get AppCode to indent line breaks to brackets?

Answered

I work in a team that mainly use Xcode for development. In Xcode, line breaks will indent to the bracket in long method call. For example, this is what it looks like after Xcode indentation:

However, in AppCode, it will become

Is there any settings for this? I've looked in indentation settings but found there were quite limited options.

2 comments
Official comment

Hi.

I believe enabling "Align when multiline" option should help (Editor | Code Style | Swift | Wrapping and Braces | Method/function call arguments).

Thanks, Tatiana, worked like a charm :D

0

Please sign in to leave a comment.