如何配置Visual Studio中,默认情况下折叠所有地区? [英] How to configure Visual Studio to collapse all regions by default?

查看:530
本文介绍了如何配置Visual Studio中,默认情况下折叠所有地区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在一个新的代码窗口中打开一个代码文件,我按Ctrl + M,O,以有倒塌的一切。据我所知,这可以通过默认来完成,而不需要按每次什么东西。我想我做到了一次,但切记不可在此选项所在的位置。

When I open a code file in a new code window, I press Ctrl+M,O to collapse everything there. As far as I know this can be done by default, without need to press anything every time. I think I did it once, but can't remember where was this option located.

推荐答案

作为最后的手段,如果你不能让它与设置工作,你也可以写一个宏来做到这一点。请查看此链接对这样的一个例子

As a last resort if you can't get it to work with settings, you can also write a macro to do this. Check out this link for an example on this.

这篇关于如何配置Visual Studio中,默认情况下折叠所有地区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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