you could always define a #region inside your loop
Collapsible (conditional, loop) blocks in Visual Studio 2012 (C#) [duplicate]
-
26-06-2022 - |
質問
There doesn't seem to be a solution to this so far, other than using region directives, which add on unnecessary work.
There are plugins, but all are for 2010 or below.
It would be great if you could collapse/expand conditional and loop blocks.
Anybody know of a newer plugin for VS 2012 that does this?
This function already exists for the C++ text editor, but it doesn't carry over when you're in the C# editor.
解決
所属していません StackOverflow