可折叠(有条件的,循环)在Visual Studio 2012(C#)块有条件、可折叠、Visual、Studio

2023-09-06 15:22:01 作者:不特别,但却是唯一

似乎有没有成为解决这一迄今为止,比使用区域的指令,这增加不必要的工作等。

There doesn't seem to be a solution to this so far, other than using region directives, which add on unnecessary work.

有插件,但一切都在2010年或以下。

There are plugins, but all are for 2010 or below.

这将是巨大的,如果你能折叠/展开的条件和循环块。

It would be great if you could collapse/expand conditional and loop blocks.

有人知道了VS 2012的更新插件,它如此?

Anybody know of a newer plugin for VS 2012 that does this?

这个功能已经存在了C ++的文本编辑器,但它并没有延续,当你在C#编辑器。

This function already exists for the C++ text editor, but it doesn't carry over when you're in the C# editor.

推荐答案

你总是可以定义你的循环内的#region

you could always define a #region inside your loop

 
精彩推荐