添加astyle工具的配置语句,格式化时可以实现宏定义的块缩进。
更改省略号为英文状态下的... 统一文件编码格式统一为UTF-8
This commit is contained in:
parent
8f2588d609
commit
417ecef5ce
|
@ -59,7 +59,7 @@ C语言头文件为了避免多次重复包含,需要定义一个符号。这
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2006-03-18 Bernard the first version
|
* 2006-03-18 Bernard the first version
|
||||||
* 2006-04-26 Bernard add semaphore APIs
|
* 2006-04-26 Bernard add semaphore APIs
|
||||||
* …
|
* ...
|
||||||
*/
|
*/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -237,6 +237,7 @@ rt_timer + 动词短语的形式表示能够应用于 timer 对象的方法。
|
||||||
|
|
||||||
参数:--style=allman
|
参数:--style=allman
|
||||||
--indent=spaces=4
|
--indent=spaces=4
|
||||||
|
--indent-preproc-block
|
||||||
--pad-oper
|
--pad-oper
|
||||||
--pad-header
|
--pad-header
|
||||||
--unpad-paren
|
--unpad-paren
|
||||||
|
|
|
@ -54,7 +54,7 @@ record like this:
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2006-03-18 Bernard the first version
|
* 2006-03-18 Bernard the first version
|
||||||
* 2006-04-26 Bernard add semaphore APIs
|
* 2006-04-26 Bernard add semaphore APIs
|
||||||
* …
|
* ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -220,6 +220,7 @@ object could be created or it could only created dynamically on heap.
|
||||||
14. Use astyle to format the code automatically
|
14. Use astyle to format the code automatically
|
||||||
parameters: --style=allman
|
parameters: --style=allman
|
||||||
--indent=spaces=4
|
--indent=spaces=4
|
||||||
|
--indent-preproc-block
|
||||||
--pad-oper
|
--pad-oper
|
||||||
--pad-header
|
--pad-header
|
||||||
--unpad-paren
|
--unpad-paren
|
||||||
|
|
Loading…
Reference in New Issue