Nov 1

代码缩进工具 indent 不指定

felix021 @ 2008-11-1 01:20 [IT » 程序设计] 评论(0) , 引用(0) , 阅读(3559) | Via 本站原创 | |
indent - changes the appearance of a C program by inserting or deleting whitespace.

indent是一个开源的C/C++代码规范化工具,提供非常多的选项,不过只用一个就很适合我了^^
具体的做法是
$ gedit ~/.indent.pro
输入内容为:
引用
-linux

OK,以后只要用
$ indent ooxx.cpp
就可以把 ooxx.cpp 格式化成linux风格,正好适合我^^




欢迎扫码关注:




转载请注明出自 ,如是转载文则注明原出处,谢谢:)
RSS订阅地址: https://www.felix021.com/blog/feed.php
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   *非必须
网址   电邮   [注册]