本文介绍了防止自动格式化将指针与变量对齐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击Reformat Code Clion更改指针时

来自:

int* pointer;

收件人:

int *pointer;

如何防止这种情况发生?

How can i prevent that from happening?

我搜索了设置,但找不到任何内容.

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

推荐答案

可以在代码样式设置中设置指针的对齐方式.

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

这篇关于防止自动格式化将指针与变量对齐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:06
查看更多