Code-> Style-> Objective-C的首选项中有如此多的设置.我正在寻找合适的代码来重新格式化这行代码
SCPropertyDefinition *test = [SCPropertyDefinition definitionWithName:@"created_at" title:@"Tweeted At" type:SCPropertyTypeLabel];
Run Code Online (Sandbox Code Playgroud)
这种格式
SCPropertyDefinition *test = [SCPropertyDefinition definitionWithName:@"created_at"
title:@"Tweeted At"
type:SCPropertyTypeLabel];
Run Code Online (Sandbox Code Playgroud)
(关键是让冒号缩进匹配)
我想它应该在Wrapping and Braces选项卡中,但我还没找到合适的设置.谢谢你的想法.
小智 12
您要查找的设置已Wrapping and Braces | Method call arguments设置为Chop down if long启用Align by colon.请注意,有单独的设置Method parameters.
| 归档时间: |
|
| 查看次数: |
1559 次 |
| 最近记录: |