码迷,mamicode.com
首页 > 其他好文 > 详细

关键字后面不加空格

时间:2016-03-20 07:06:32      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

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".

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

 

 

 

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

技术分享

 

关键字后面不加空格

标签:

原文地址:http://www.cnblogs.com/chucklu/p/5297076.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!