C ++ formatter / beautifier? [英] C++ formatter/beautifier?

查看:70
本文介绍了C ++ formatter / beautifier?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人能指出我一个好的,免费的C ++

格式化/美化。我正在寻找能够提供Unix / Linux''缩进''程序提供的控制级别的东西,但是对于C ++(缩进

有一些怪癖当应用于C ++时)。我花了一段时间用谷歌搜索

这些东西,但没有提出任何东西,只有

各种非常基本的格式化程序,如艺术风格。如果有人能指出我是一个开源程序,那将是最好的,但是我愿意用b $ b来处理那些免费的东西(比如啤酒)。在此先感谢。

Hi, I''m wondering if anybody can point me to a good, free C++
formatter/beautifier. I''m looking for something that offers the level of
control that the Unix/Linux ''indent'' program provides, but for C++ (indent
has some quirks when applied to C++). I have spent a while Googling for
something along these lines, but haven''t come up with anything, only
various very basic formatting programs like Artistic Style. It would be
best if someone could point me to an open-source program, but I''m willing
to work with something that''s free (as in beer). Thanks in advance.

推荐答案

OvErboRed写道:
OvErboRed wrote:
我想知道是否有人可以指向一个好的,免费的C ++
格式化器/美化器。我正在寻找能够提供Unix / Linux''缩进''程序提供的控制级别的东西,但是对于C ++(缩进
在应用于C ++时有一些怪癖)。我花了一段时间用谷歌搜索这些东西,但没有提出任何东西,只有各种非常基本的格式化程序,如艺术风格。如果有人能指出我的开源程序,那将是最好的,但我愿意与一些免费的东西(如啤酒)合作。提前致谢。
Hi, I''m wondering if anybody can point me to a good, free C++
formatter/beautifier. I''m looking for something that offers the level of
control that the Unix/Linux ''indent'' program provides, but for C++ (indent
has some quirks when applied to C++). I have spent a while Googling for
something along these lines, but haven''t come up with anything, only
various very basic formatting programs like Artistic Style. It would be
best if someone could point me to an open-source program, but I''m willing
to work with something that''s free (as in beer). Thanks in advance.



http://astyle.sourceforge。网


-

Phlip
http://industrialxp.org/community/bi...UserInterfaces


http://www.codeworker.org 上试试CodeWorker。


这是一个解析工具和通用源代码生成器,

解释脚本语言。该语言提供了函数

''indentFile()''。


如果你只有一个缩进的文件,写一个单行脚本,调用

" indent.cws"例如:

indentFile(" my-C ++ - file.cpp");


并输入:

codeworker indent .cws


如果您有更多要缩进的文件,请更改indent.cws。 to:

forfile i in*。cpp indentFile(i);

forfile i in*。h indentFile(i);


问候,


Cedric Lemaire
Try ''CodeWorker'' at http://www.codeworker.org.

This is a parsing tool and a universal source code generator that
interprets a scripting language. The language provides the function
''indentFile()''.

If you just have a file to indent, write a single-line script, called
"indent.cws" for instance:
indentFile("my-C++-file.cpp");

and type:
codeworker indent.cws

If you have more files to indent, change "indent.cws" to:
forfile i in "*.cpp" indentFile(i);
forfile i in "*.h" indentFile(i);

Regards,

Cedric Lemaire


" OvErboRed" < PU ****** @ SPAMoverbored.net>在消息中写道

新闻:Xn ****************************** @ 127.0.0.1 .. 。
"OvErboRed" <pu******@SPAMoverbored.net> wrote in message
news:Xn******************************@127.0.0.1...
我想知道是否有人可以指点我一个好的,免费的C ++
格式化器/美化器。我正在寻找提供
Hi, I''m wondering if anybody can point me to a good, free C++
formatter/beautifier. I''m looking for something that offers the level of


http://dickey.his.com/bcpp/bcpp.html


这篇关于C ++ formatter / beautifier?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆