[英]C# Formatting in VS2015
My question is fairly simple: 我的问题很简单:
Visual studio offers settings for formatting the code. Visual Studio提供了用于设置代码格式的设置。 However I was not able to fix this:
但是我无法解决此问题:
I want this 我要这个
ReturnType FunctionName(){ .. }
ReturnType FunctionName(){..}
instead of 代替
ReturnType FunctionName() { .. }
ReturnType FunctionName(){..}
So I want to get rid of the space between ()
and {}
. 所以我想摆脱
()
和{}
之间的空间。 Any suggestions will be greatly appreciated! 任何建议将不胜感激!
Thanks! 谢谢!
Tools -> Options -> Text Editor -> C# 工具->选项->文本编辑器-> C#
Inside there you can find lots of ways to format your text. 在里面,您可以找到许多格式化文本的方法。 It is hard to say what you want from your post but anything formatting is a good start to look there.
很难说出您想从帖子中得到什么,但是任何格式都是在那里寻找一个好的开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.