简体   繁体   English

Visual Studio 2008在类似区域的IDE中折叠html

[英]visual studio 2008 collapse html in IDE like regions

Is there anyway to collapse html in the IDE? 无论如何,在IDE中可以折叠html吗? For example if I have a table, I would like to collapse the table and anything inside of this. 例如,如果我有一张桌子,我想折叠桌子以及其中的任何东西。

This is actually a baked in feature of Visual Studio. 这实际上是Visual Studio的新增功能。 In the source view of an HTML page (.html, .master, .aspx, .ascx, etc.), there should be small plus signs next to collapsible elements. 在HTML页面(.html,.master,.aspx,.ascx等)的源代码视图中,可折叠元素旁应有小加号。 Click that to collapse that element (and anything inside it). 单击该按钮可折叠该元素(及其中的任何内容)。 Likewise, click the minus signs to expand them again. 同样,单击减号再次将其展开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM