Reputation: 829
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!
Upvotes: 9
Views: 2647
Reputation: 2066
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.
Upvotes: 8
Reputation: 112835
From what I can tell after a little bit of research, there's no native support in VS2008 for collapsible "#regions" in JavaScript or CSS files... however, this blog post describes a workaround for JavaScript (and it looks like the example could be extended for use with CSS files as well).
Upvotes: 4