【问题标题】:astyle: is there an option to add a space between `#include` and `<...>`?astyle: 是否可以在 `#include` 和 `<...>` 之间添加一个空格?
【发布时间】:2021-05-17 18:19:14
【问题描述】:

比如这段代码sn -p:

#include<math.h>

会变成:

#include <math.h>

我阅读了文档并在 Google 上搜索,但没有找到。

【问题讨论】:

    标签: astyle


    【解决方案1】:

    好像没有。但是没关系,因为正则表达式可以很好地处理这种情况。

    【讨论】:

      猜你喜欢
      • 2015-08-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-22
      • 2018-10-16
      • 2012-02-10
      • 1970-01-01
      • 2023-02-01
      相关资源
      最近更新 更多