可折叠(有条件的,循环)在Visual Studio 2012(C#)块 [英] Collapsible (conditional, loop) blocks in Visual Studio 2012 (C#)
本文介绍了可折叠(有条件的,循环)在Visual Studio 2012(C#)块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎有没有成为解决这一迄今为止,比使用区域的指令,这增加不必要的工作等。
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
这篇关于可折叠(有条件的,循环)在Visual Studio 2012(C#)块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文