我想用uncrustify对齐结肠我的参数,并具有一定的有限的成功。
使用中的信息灿Uncrustify对齐Objective-C的方法调用冒号? 我在我的配置文件如下:
align_oc_decl_colon = true
align_oc_msg_colon_span = 20
我.m
-files很好看,就像这样:
- (id)initWithStreetName:(NSString *)streetName
areaCode:(NSString *)areaCode
city:(NSString *)city
country:(NSString *)country
positionLatitude:(NSString *)positionLatitude
positionLongitude:(NSString *)positionLongitude
serverAssignmentId:(NSString *)serverAssignmentId
comment:(NSString *)comment
timestamp:(NSDate *)timestamp
status:(AssignmentStatus)status
但同样的方法看起来像这样的标题:
- (id)initWithStreetName:(NSString *)streetName
areaCode :(NSString *)areaCode
city :(NSString *)city
country :(NSString *)country
positionLatitude :(NSString *)positionLatitude
positionLongitude :(NSString *)positionLongitude
serverAssignmentId :(NSString *)serverAssignmentId
comment :(NSString *)comment
timestamp :(NSDate *)timestamp
status :(AssignmentStatus)status;
我如何能得到头部代码的任何想法看起来像代码的执行?