开发者

C++ / Uncrustify / Indenting base class specifications

How do I setup uncrustify so that this code:

static const class Example
    : Int1
    , Int2
    , Int3  

looks like this:

static const class Example
: Int1
, Int2
, I开发者_开发问答nt3

I can not find any option which does only indent the derived classes.


If you are using visual studio (version 2008, 2010 ???) and that the keyboard settings are supported in the visual studio options, select the code you want to "uncrustify" and press Alt+F8. This may or may not help, but you can always select the code and then try "Shift+Tab" to remove the preceding indent. Let me know if I am wrong or missed something from your question.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜