您的位置:首页 > 其它

关键字后面不加空格

2016-03-20 04:25 253 查看
http://stackoverflow.com/questions/4208231/visual-studio-adding-space-after-if-statements

In the Visual Studio options, under Text Editor / C# / Formatting / Spacing, in the "Set other spacing options" part, there's an option for "Insert space after keywords in control flow statements".

I suspect you'll find you've got that checked, and you don't want it to be. (I have it checked deliberately :)

如果安装了Resharper,还需要再Resharper里面另外设置

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: