本文介绍了是否有选择指针声明符的间距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Visual Studio喜欢在autoformatting时更改指针和引用声明符间距:
Visual Studio likes to change my pointer and reference declarator spacing while autoformatting:
int fun(P* p, R& r);
将更改为:
int fun(P * p, R & r);
如何防止这种形式发生?是否有选择所需间距的选项?
How can I prevent that form happening? Is there an option to select the desired spacing?
推荐答案
有些人有
在过去的一年中在uservoice上请求了该功能 ...这让我觉得它尚不存在。
Some have requested that feature at uservoice in the past year...which makes me think it doesn't exist yet.
这篇关于是否有选择指针声明符的间距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!