开发者

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

开发者 https://www.devze.com 2023-03-21 07:45 出处:网络
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

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

精彩评论

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