How to collapse If, Else, For, Foreach, etc clauses?

Moslem Ben Dhaou picture Moslem Ben Dhaou · Jun 29, 2012 · Viewed 64.1k times · Source

I get stuck sometimes with very long clauses and I am looking for a way that allows me to collapse them, same way as I can collapse classes, methods and namespaces by default.

Is there a Visual Studio extension that does that? neither ReSharper nor JustCode does allow it.

Thank you!

Answer

TWT picture TWT · Jul 2, 2012

Try this plugin (C# Outline Extension):