How to get AppCode to indent line breaks to brackets?

已回答

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.

0
Avatar
Permanently deleted user
正式评论

Hi.

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

Avatar
Permanently deleted user

Thanks, Tatiana, worked like a charm :D

0
Avatar
Permanently deleted user

Hi,

I'm using Method/function call arguments with "Wrap always" option, but is it possible to turn OFF (or add next checkbox) wrapping for subscript functions?

0
Avatar
Permanently deleted user

Hi Jakub.

>I'm using Method/function call arguments with "Wrap always" option, but is it possible to turn OFF (or add next checkbox) wrapping for subscript functions?

That's not possible at the moment. But I've created OC-16143 for that - please vote and leave comments as you see fit.

0

请先登录再写评论。