代码::块您可以@brief宏定义吗?

时间:2018-10-16 22:08:24

标签: autocomplete macros comments codeblocks

使用库中声明的变量时,我观察到其中一些在弹出自动完成窗口时显示了说明。例如,如果您有以下代码:

/** This variable stores the number of apples i have. */
int Apples;

在声明Apples之后,当我键入App时,自动完成窗口将显示Apple变量,并在其下方键入上面的描述。

现在,我问宏定义是否可能具有相同的行为。

我用下面的代码尝试过,但是它只显示宏值。

/** The maximum number of apples a person can have.*/
#define MAX_APPLES 255

0 个答案:

没有答案
相关问题