Prevent Auto Format from align Pointer to variable

若如初见. 提交于 2019-12-08 06:52:44

问题


When i click on Reformat Code Clion changes my pointers

from:

int* pointer;

to:

int *pointer;

How can i prevent that from happening?

I searched through the settings but couldn't find anything.


回答1:


The alignment of pointers can be set in the code style settings.



来源:https://stackoverflow.com/questions/42697900/prevent-auto-format-from-align-pointer-to-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!