目录
- AStyle
- Code::Blocks Source code formatter plugin
- Source code formatter (AStyle) shortcut
AStyle
A Free, Fast, and Small Automatic Formatter
for C, C++, C++/CLI, Objective?C, C#, and Java Source Code
Project Page: http://astyle.sourceforge.net/
SourceForge: http://sourceforge.net/projects/astyle/
Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective?C, C# and Java programming languages.
Code::Blocks Source code formatter plugin
Code::Blocks 的 Source code formatter plugin 使用 AStyle 格式化 C/C++ 代码。
Settings -> Editor -> Source formatter
Figure 1: Style
Figure 2: Brackets
Figure 3: Indentation
Figure 4: Formatting
Figure 5: Padding
Source code formatter (AStyle) shortcut
Settings -> Editor -> Keyboard shortcuts -> Plugins -> Source code formatter (AStyle)
shortcut: Ctrl-Shift-I(Indent)
原文地址:https://www.cnblogs.com/typescript/p/11456493.html
时间: 2024-09-30 07:19:31