[英]Setting for formatting C-style comments for C#
Writing C# in Visual Studio 2019. With the following construct:在 Visual Studio 2019 中编写 C#。使用以下构造:
/* My comment
*/
Set the cursor to the right of comment
and press Enter .将 cursor 设置在
comment
右侧,然后按Enter 。 This gets converted to:这将转换为:
/* My comment
*
*/
I'd prefer:我更喜欢:
/* My comment
*/
After hunting around in Tools > Options
, could not find the setting for this...where is it?在
Tools > Options
中四处寻找后,找不到此设置...它在哪里?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.