在 Visual Studio 中递归展开折叠区域?(概述) [英] Recursively expand collapsed regions in Visual Studio? (outlining)

查看:28
本文介绍了在 Visual Studio 中递归展开折叠区域?(概述)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Visual Studio 2008,而且一旦我折叠了所有区域,我似乎无法通过单击/命令展开某个区域的所有级别.Notepad++ 具有此功能,当您 ctrl + 单击折叠区域时,它会递归扩展其中的所有区域.太棒了.

I'm using Visual Studio 2008, and it doesn't seem like once I have collapsed all the regions, I can expand ALL levels of a certain region with one click/command. Notepad++ has this functionality when you ctrl + click on a collapsed region, it recursively expands all regions within it. It's awesome.

有人知道具有此功能的插件或宏吗?我使用的是自定义语言,也不是 C++/C# btw

Anyone know of a plugin or macro that has this functionality? I'm using a custom language, aka not C++/C# btw

谢谢!

推荐答案

我正在使用 VS 2017,但我认为它的工作原理是一样的:

I am working with VS 2017, but I think it works the same:

默认情况下,ctrl+M+ctrl+E 在当前行展开.

By default, ctrl+M+ctrl+E expands at the current line.

但是如果您选择多行(例如,shift + 拖动鼠标),则 ctrl+ME 展开所有这些行的所有内容.

But if you choose several lines (e.g., shift + drag the mouse), then ctrl+ME expands everything at all those lines.

这篇关于在 Visual Studio 中递归展开折叠区域?(概述)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆