user238756 Asked: 2018-08-31 06:46:20 +0800 CST2018-08-31 06:46:20 +0800 CST 2018-08-31 06:46:20 +0800 CST 纳米文本文件格式化程序?[关闭] 772 有没有一种简单的方法来格式化 nano 文件文本?我的代码变得非常混乱,所以它可能有助于格式化它。 c nano 2 个回答 Voted Rui F Ribeiro 2018-08-31T06:54:38+08:002018-08-31T06:54:38+08:00 为了格式化/“美化” C 代码,你有 Debian 中的包astyle,bcpp和uncrustify 搜索包: $ apt-cache search beautifier | grep C astyle - Source code indenter for C, C++, Objective-C, C#, and Java bcpp - C(++) beautifier bcpp-dbg - C(++) beautifier - debug uncrustify - C, C++, C#, D, Java and Pawn source code beautifier Best Answer Alexander 2018-08-31T07:23:26+08:002018-08-31T07:23:26+08:00 还有clang-format命令
为了格式化/“美化” C 代码,你有 Debian 中的包
astyle
,bcpp
和uncrustify
搜索包:
还有clang-format命令