在Visual Studio 2013 Express IDE中折叠括号

Mar*_*ark 4 c# visual-studio visual-studio-2013

我知道在Visual Studio中有一个扩展.但是,是否有人知道Visual Studio Express版本的类似扩展或设置?

可以让我崩溃的东西:

     if (!string.IsNullOrEmpty(hotel.bg3))
            {
                colspan += 1;
                TableCell c3 = new TableCell();
                c3.Text = hotel.bg3.Replace(" ", "<br />");
                c3.Style.Value = "border-color: #333333;  border-width: 1pt; border-style: none none solid none; font-weight:bold;";
                c3.HorizontalAlign = HorizontalAlign.Center;
                row.Controls.Add(c3);
            }
Run Code Online (Sandbox Code Playgroud)

至:

     if (!string.IsNullOrEmpty(hotel.bg3))
            {...}
Run Code Online (Sandbox Code Playgroud)

谢谢,

标记

Nac*_*ota 8

选择您要崩溃,打码Ctrl+MCtrl+H.您也可以右键单击选择并选择" 大纲">"隐藏选择".要取消隐藏,请按Ctrl+M然后Ctrl+U或右键单击折叠的代码,然后选择" 大纲">"停止隐藏当前".

值得注意的是Visual Studio的Express版本根本不支持扩展.