【问题标题】:Comments that control uncrustify behaviour控制 unrustify 行为的评论
【发布时间】:2015-10-07 04:58:12
【问题描述】:

this question (https://stackoverflow.com/questions/15097501/can-uncrustify-be-prevented-from-modifying-certain-sections-of-code) 中,我了解到我可以使用*INDENT-OFF* 来排除对某些代码部分的不可信操作。

很遗憾,我无法在其他任何地方找到此信息。

有人知道我在哪里可以查到这个吗?是否还有其他控制不可靠行为的 cmets?

【问题讨论】:

    标签: uncrustify


    【解决方案1】:

    *INDENT-ON**INDENT-OFF*uncrustify_types.h 文件的 source code 中定义

    另请参阅 Ben Gardner 的评论:https://sourceforge.net/p/uncrustify/bugs/343/#0394

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-12-02
      • 2013-11-20
      • 2012-09-17
      • 1970-01-01
      • 2011-08-06
      • 2017-12-02
      相关资源
      最近更新 更多