开发者

Uncrustify: Which switch or setting affects the { for @interface and @protocol?

I use Uncrustify to beautify my code:

http://uncrustify.sourceforge.net/

What switch or setti开发者_运维百科ng affects the { for @interface and @protocol?


Unfortunately, there's no easy setting for this. However, you can edit the templates that Xcode uses by following the instructions here.


I don't believe @protocol has a curly brace - since there's no ivars in a protocol. However I have added this as a feature request here so hopefully one day we get what we want :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜