Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to collapse javascript or CSS in Visual Studio 2008

It would be nice to have the ability to create 'regions' in js and css files. Much easier to work with. I couldn't find anything on Google about this, but even Dreamweaver can do this.

thanks!

like image 954
ericgr Avatar asked Feb 04 '23 10:02

ericgr


1 Answers

you can select the block you want to hide and do CTRL+M,H (Edit --> Outlining --> Hide Selection) With enough time someone could write a macro or adding to identify all functions or objects and outline them all separately.

like image 77
sergiopereira Avatar answered Feb 06 '23 00:02

sergiopereira