`
dowhathowtodo
  • 浏览: 781276 次
文章分类
社区版块
存档分类
最新评论

推荐 C++的代码缩进编排更好的工具 -- Artistic Style(Astyle)

 
阅读更多

这个工具我称之为:Astyle

具体网址为:Artistic Style 2.02

文档说的非常好了,如果缩进之类的,细分到了每个方面。

为什么推荐这个工具呢?因为传统的indent是没有办法满足c++ er的需求了,只是适合c,这个工具适合C++等语言,也适合C#语言,具体可以参考文档吧。

说说Linux下面的安装:

cd astyle/build/gcc
make all

make install

没有必要更改默认安装路径,直接如此就是了。

使用方法:

linux# astyle xxx.cc

or

linux# astyle xxx.cpp

or

linux# astyle xxx.cxx

分享到:
评论

相关推荐

    artistic style源代码格式化工具

    可以帮助格式化源代码的好工具。 你可能下载到的源码比较混乱 也可能你拿到其他人写的源码,乱的想骂娘 别着急 用这东西,可以解决你的问题 astyle -c --style=ansi abc.c 再打开文件看看,爽呆了。

    代码格式化工具Astyle V2.06

    代码格式化工具artistic astyle 2.06,可用来格式化多种语言的代码,自动保持风格一致

    astyle-3.4.14-x64.zip

    AStyle,全称 "Artistic Style," 是一款开源的源代码格式化、美化工具,主要用于对C, C++, C#和Java等编程语言编写的源代码进行自动化的代码风格调整。其主要目的是使源代码在保持语义不变的前提下,按照特定的编码...

    代码排版工具Artistic Style的使用

    代码排版工具Artistic Style的使用,介绍了其一般性的用法。。

    artistic-videos, 纸张"Artistic style transfer for videos"的Torch 实现.zip

    artistic-videos, 纸张"Artistic style transfer for videos"的Torch 实现 艺术视频这是基于neural的Torch 实现的实现,基于Justin的https://github.com/jcjohnson/neural-style 。算法允许从一个图像( 比如一幅画) ...

    SourceInsight 中集成Artistic Style 格式化代码

    SourceInsight 中集成Artistic Style 格式化代码 SourceInsight 中集成Artistic Style 格式化代码

    Astyle(格式调整)

    包含源代码,需要的可以自行下载。 把astyle.exe 复制到 C:\WINDOWS 目录里,省的指定路径 VC6++ 设置方法 菜单->工具->定制->工具菜单内容->新建菜单,参数如下 命令行:astyle.exe 变量: --style=k&r --brackets=...

    Astyle 代码格式化工具

    Astyle是一个用来对C/C++代码进行格式化的 Eclipse 插件,可在 Eclipse CDT 环境中使用。该插件基于 Artistic Style 开发。

    linux下astyle安装包和使用说明

    从http://astyle.sourceforge.net下载的最新版astyle源码包,附赠安装使用说明文档。 格式化代码的利器,支持c,c++,clang。

    使用 Artistic Style 格式化代码 (配套资源)

    1、目前最新版本的Artistic Style(含可执行文件、源码、文档); 2、本人编写的风格选项文件(基本囊括了所有的选项,注释清楚,便于修改); 3、本人编写的批处理文件(可以处理c、cpp、h、hpp文件,可自行仿照...

    Visuial Studio 的Artistic Style 3.1插件

    Visuial Studio 的Artistic Style 3.1插件,一键安装,即可在VS软件中设置代码格式,插件对应的Artistic版本是2018年最新的

    A Neural Algorithm of Artistic Style(一个艺术风格化的神经网络算法)

    tent and style of an image. Thus far the algorithmic basis of this process is unknown and there exists no artificial system with similar capabilities. How- ever, in other key areas of visual ...

    neural-style-painting, "A Neural Algorithm of Artistic Style"的实现.zip

    neural-style-painting, "A Neural Algorithm of Artistic Style"的实现 基于的艺术风格神经算法实现这是"一种艺术风格的神经算法。"的实现。 这将使用预先训练的模型( vgg-19 )的筛选响应来捕获低级别的高级特性,...

    AStyle_windows.zip

    Astyle 的全称是Artistic Style的简称,是一个开源的源代码格式化工具,可以对C,C++,C#以及Java等编程语言的源代码进行缩进、格式化、美化。

    Avatar-Net: Multi-scale Zero-shot Style Transfer by Feature Decoration

    Zero-shot artistic style transfer is an important image synthesis problem aiming at transferring arbitrary style into content images. However, the trade-off between the gener- alization and efficiency...

    C代码格式化工具:AStyle_3.0.1_windows

    Astyle是一个用来对C/C++代码进行格式化的 Eclipse 插件,可在 Eclipse CDT 环境中使用。该插件基于 Artistic Style 开发。

    AStyle 2.02版本

    AStyle 2.02版本 AStyle(全称Artistic Style)是一个C、C++、C#和Java源代码缩进、格式化和美化工具。官方下载是命令行版程序,可以整合到开发IDE环境中去使用,甚至也可以整合到Notepad++之类的编辑器中。 ...

    AStyle 2.01 Windows

    Astyle 的全称是Artistic Style的简称,是一个开源的源代码格式化工具,可以对C,C++,C#以及Java等编程语言的源代码进行缩进、格式化、美化。

    AStyle.zip

    Astyle 的全称是Artistic Style的简称,是一个开源的源代码格式化工具,可以对C,C++,C#以及Java等编程语言的源代码进行缩进、格式化、美化等

    Qt Creator 代码格式化插件Astyle

    1、Qt中格式化代码工具有好几种,目前使用的最多最好用的就是Astyle 2、Windows平台下:可以直接下载带有Astyle.exe文件的压缩包,放到指定的目录即可 3、单击上面一行的“工具——选项——Beautifier”进入面板,在...

Global site tag (gtag.js) - Google Analytics