pointer/references 的 CLion 格式

CLion formatting of pointer/references

从重新格式化,我想要:

int* n;
int& m;
int const* o;

相反,我得到:

int *n;
int &m;
int const *o;

如何让 CLion 做我想做的事?

points to https://www.jetbrains.com/help/clion/2016.3/code-style.html

搜索许多选项后...在“设置”中

Editor -> Code Style -> C/C++ -> Spaces ->

From:
    before '*' in declarations
    before '&' in declarations

to:
    after '*' in declarations.
    after '&' in declarations.