【问题标题】:How to se up the Visual Studio如何设置 Visual Studio
【发布时间】:2016-01-27 05:54:19
【问题描述】:

使用 Visual Studio 2015 社区。​​p>

我注释了两行代码。

//string Foo = "";      //  1st comment
////string Boo = "";    //  2nd comment

然后我屏蔽了两行,点击命令栏上的取消注释图标,将两行前面的2个注释字符(//)同时删除。

string Foo = "";      //    1st comment
                //string Boo = "";  //  2nd comment

我对第 2 行的安排很奇怪。 它自动移动了。 我真的不想这样移动(我讨厌它)。

我该怎么办? 这就是我想要的。

string Foo = "";      //    1st comment
//string Boo = "";    //    2nd comment

谢谢

【问题讨论】:

    标签: c# ide setting


    【解决方案1】:

    我从你的问题中得到了什么, 你应该取消注释两次,这不是一个严重的问题。

    【讨论】:

    • 感谢您的评论。首先是颈部疼痛。其次,有些人认为外表很重要。最后,你必须做额外的动作(按键输入或鼠标点击)——这是无用的 c.l.e.a.r.l.y.
    猜你喜欢
    • 2021-08-22
    • 2015-05-29
    • 1970-01-01
    • 1970-01-01
    • 2011-06-30
    • 2018-11-23
    • 1970-01-01
    • 2016-07-06
    • 1970-01-01
    相关资源
    最近更新 更多