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!
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!
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).
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.