ChinaUnix.net
相关文章推荐:

astyle

http://astyle.sourceforge.net/astyle.html Example to format all .cpp and .h files recursively: astyle --style=allman --recursive /home/user/project/*.cpp /home/user/project/*.h 我照上面下 astyle --style=allman --recursive xxx/*.c 不過為什麼不可以用? 我是Artistic Style 1.21 謝謝

by shihyu - Linux新手园地 - 2009-04-01 10:33:17 阅读(1522) 回复(1)

相关讨论

http://astyle.sourceforge.net/astyle.html Example to format all .cpp and .h files recursively: astyle --style=allman --recursive /home/user/project/*.cpp /home/user/project/*.h 我照上面下 astyle --style=allman --recursive xxx/*.c 不過為什麼不可以用? 我是Artistic Style 1.21 謝謝

by shihyu - C/C++ - 2009-04-01 14:51:10 阅读(1198) 回复(2)

from: http://astyle.sourceforge.net Artistic Style 1.19 A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source Code by Tal Davidson and Jim Pattee Home Page: http://astyle.sourceforge.net/ Project Page: http://sourceforge.net/projects/astyle/ Artistic Style is a source code indenter, source code formatter, and source code beautifier for the C, C++, C# and Java programming l...

by web_surf - Linux文档专区 - 2006-11-07 20:40:28 阅读(876) 回复(0)

不知道大家都用不用astyle,但是我的出问题了。 今天在Ub下面装了一个,然后在vim里面map: map :w:!astyle --style=ansi % 但是发现Vim不能自动载入改变的文件,后来查了文档,在.vimrc里面加进去了一条: set autoread 可是好像居然还是不行,用gedit改的,都可以马上被vim发现,为什么脚本里面的astyle改了程序Vim却发现不了呢?大家是怎么用这个东西的呢?

by starwing83 - Linux环境编程 - 2008-08-31 04:42:28 阅读(3723) 回复(1)

Windows平台下也有好多人都喜欢用SourceInsight编辑C/C++程序,但是SourceInsight没有提供对代码格式化的功能,如果将Artistic Style集成到SourceInsight中,那就可以为它扩展出代码格式化的功能了。 假定astyle.exe的目录是“C:\ArtisticStyle\”,在该目录下有一个“c.opt”文件是用来保存配置的文件。下面简要地介绍下Artistic Style集成到SourceInsight中的方法。 1. 打开你的SourceInsight, 选择菜单“Options-->Custom Comma...

by twmt - Linux文档专区 - 2009-07-08 00:54:46 阅读(763) 回复(0)

find . -name *.c -exec astyle --style=kr -PS {} \; 請問一下上面命令用法 -exec {} \; 上面兩個是什麼意思? 謝謝

by shihyu - Shell - 2009-04-01 21:43:53 阅读(1909) 回复(1)

本帖最后由 ____BlueGuy____ 于 2013-06-02 10:51 编辑 真心写的我手都疼啊 ~~ 花了30块买了个 正版的 LuaStudio,功能还是太弱,还是不行 编码速度瞬间降低了 50%,还怎么写代码 ? 我看你们喜欢 Lua 肯定是在装B吧,我就不信连个开发工具都没有,编码还能爽得了 !

by ____BlueGuy____ - C/C++ - 2013-06-04 10:45:27 阅读(2480) 回复(5)

astyle -h 帮助内容太多了,太多页了,我想分页看。 $astyle -h 一下子就把帮助文档的内容都输出来了,我想分页看,试了下 $astyle -h | more 不起作用 ,也是 一下子就把帮助文档的内容都输出来了 astyle -h | grep 关键字 也不行.也是 一下子就把帮助文档的内容都输出来了

by interim2012 - Linux系统管理 - 2012-10-11 17:26:01 阅读(2281) 回复(10)
by lml1987236 - Linux新手园地 - 2011-04-01 12:33:15 阅读(2048) 回复(3)

Asyle、Vim、Lua之类的文本处理的源码都比较麻烦,不知道怎么看好 ~

by ____BlueGuy____ - C/C++ - 2013-06-02 12:49:14 阅读(935) 回复(0)

[code] /** * WINDOWS function to resolve wildcards and recurse into sub directories. * The fileName vector is filled with the path and names of files to process. * * @param directory The path of the directory to be processed. * @param wildcard The wildcard to be processed (e.g. *.cpp). * @param fileName An empty vector which will be filled with the path and names of files to pr...

by ____BlueGuy____ - C/C++ - 2013-06-02 11:32:46 阅读(1321) 回复(0)