astyle使用方法记录
2014-11-05 18:40
756 查看
--pad-paren-out, -d Insert space padding around parenthesis on the outside only. Any end of line comments will remain in the original column, if possible. This can be used with --unpad-paren below to remove unwanted spaces.
--delete-empty-lines, -x
Delete empty lines within a function or method. Empty lines outside of functions or methods are NOT deleted. If used with --break-blocks or --break-blocks=all it will delete all lines
except the lines added by the --break-blocks options.
--pad-header, -H
Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...). Any end of line comments will remain in the original column, if possible. This can be used with
--unpad-paren to remove unwanted spaces.
--indent-classes, -C
Indent 'class' blocks, so that the inner 'public:', 'protected:' and 'private:' headers are indented in relation to the class block. This option has no effect on Java and C# files.
--suffix=none, -n
Do not retain a backup of the original file. The original file is purged after it is formatted.
--delete-empty-lines, -x
Delete empty lines within a function or method. Empty lines outside of functions or methods are NOT deleted. If used with --break-blocks or --break-blocks=all it will delete all lines
except the lines added by the --break-blocks options.
--convert-tabs, -c
Convert tabs to spaces in the non-indentation part of the line. The number of spaces inserted will maintain the spacing of the tab. The current setting for spaces per tab is used. It
may not produce the expected results if --convert-tabs is used when changing spaces per tab. Tabs are not replaced in quotes.
--delete-empty-lines, -x
Delete empty lines within a function or method. Empty lines outside of functions or methods are NOT deleted. If used with --break-blocks or --break-blocks=all it will delete all lines
except the lines added by the --break-blocks options.
--pad-header, -H
Insert space padding after paren headers only (e.g. 'if', 'for', 'while'...). Any end of line comments will remain in the original column, if possible. This can be used with
--unpad-paren to remove unwanted spaces.
--indent-classes, -C
Indent 'class' blocks, so that the inner 'public:', 'protected:' and 'private:' headers are indented in relation to the class block. This option has no effect on Java and C# files.
--suffix=none, -n
Do not retain a backup of the original file. The original file is purged after it is formatted.
--delete-empty-lines, -x
Delete empty lines within a function or method. Empty lines outside of functions or methods are NOT deleted. If used with --break-blocks or --break-blocks=all it will delete all lines
except the lines added by the --break-blocks options.
--convert-tabs, -c
Convert tabs to spaces in the non-indentation part of the line. The number of spaces inserted will maintain the spacing of the tab. The current setting for spaces per tab is used. It
may not produce the expected results if --convert-tabs is used when changing spaces per tab. Tabs are not replaced in quotes.
相关文章推荐
- 使用trace方法和trace属性记录Page目录中网页的执行情况
- 使用DataReader在dataGridView中查看表结构和全部记录的方法
- Astyle在visual c++ 6 中的安装和使用方法
- SQL Server2005 xml字段使用方法 1对多表记录读取
- Sqlserver 2005使用XML一次更新多条记录的方法
- log4j和commons.logging日志记录的使用方法
- Rails简单方法使用记录
- 使用动态代理记录方法执行的时间
- 使用RevertRecord方法恢复在缓冲区中被删除的记录
- Oracle 10G expdp/impdp 使用方法记录
- 使用trace方法和trace属性记录Page目录中网页的执行情况
- AC010笔记之一:解释SAP R/3使用下列各项对财务主记录进行分组的方法
- 使用AO新增记录的3种方法
- 使用动态代理记录方法执行的时间
- Eclipse使用方法记录
- log4j和commons.logging日志记录的使用方法
- 使用AO新增记录的3种方法
- VC快速清空树控件(CTreeCtrl)所有记录的方法,DeleteAllItems的使用
- CKEditor使用方法记录一(简单的操作)
- C#中从数据库查询记录的方法分类( 一般使用两种方法):