Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to collapse function body in Visual Studio 2010 editor?

I am new to Visual Studio 2010 and I am missing one Notepad++ feature, that is collapsing...

Where do I anable such option in Visual Studio and Resharper?

enter image description here

like image 235
Mars Robertson Avatar asked Jan 18 '23 04:01

Mars Robertson


2 Answers

Ctrl+M,Ctrl+O to collapse function body

like image 68
Vetrivel mp Avatar answered Jan 22 '23 09:01

Vetrivel mp


Have a look at this and let me know what you think. http://jsoutlining.codeplex.com/ This Visual Studio Addon will let you expand and collapse css- and javascript files just as you can do with regular .cs (or .vb)-files.

like image 39
petstran Avatar answered Jan 22 '23 09:01

petstran