uncrustify类c源代码

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了uncrustify类c源代码相关的知识,希望对你有一定的参考价值。

you may not want to use the buggy apt version. just compile it yourself
  1. #use this for an ant task:
  2. # <exec executable="bash">
  3. # <arg value="-i" />
  4. # <arg value="-c" />
  5. # <arg value="uncrustify --no-backup $(find ${src} -name &quot;*.java&quot;)" />
  6. # </exec>
  7.  
  8.  
  9. #make sure to configure like this
  10. cp /usr/share/uncrustify/ben.cfg ~/.uncrustify.cfg
  11.  
  12. #uncrustify all java files in this folder
  13. uncrustify --no-backup $(find -name "*.java")

以上是关于uncrustify类c源代码的主要内容,如果未能解决你的问题,请参考以下文章