是否有选择指针声明符的间距? [英] Is there an option to select the spacing of pointer declarators?

查看:53
本文介绍了是否有选择指针声明符的间距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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?

推荐答案

很奇怪。  绝对不会对我这样做。  您有扩展程序或加载项吗?

Weird.  It definitely doesn't do that for me.  Do you have an extension or add-in?

有些人有
在过去的一年中在uservoice上请求了该功能
...这让我觉得它尚不存在。

Some have requested that feature at uservoice in the past year...which makes me think it doesn't exist yet.


这篇关于是否有选择指针声明符的间距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆