如何永久禁用在Visual Studio 2008区域折叠 [英] How to permanently disable region-folding in Visual Studio 2008

查看:187
本文介绍了如何永久禁用在Visual Studio 2008区域折叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道如何关闭代码折叠在2008年的Visual Studio?我的一些同事们喜欢它,但我个人总是希望看到所有的代码,并且永远不想折叠的视线代码。我想一个设置,这意味着我的Visual Studio副本从来没有褶皱 #regions 或函数体。

Anyone know how to turn off code folding in visual studio 2008? Some of my colleagues love it, but I personally always want to see all the code, and never want code folded out of sight. I'd like a setting that means my copy of Visual Studio never folds #regionsor function bodies.

推荐答案

进入工具 - >选项菜单。
转到文本编辑器 - > C# - >高级。取消选中输入概述模式时,打开的文件。

I recommend this other answer

Go to the Tools->Options menu. Go to Text Editor->C#->Advanced. Uncheck "Enter outlining mode when files open".

这将禁用所有概述,包括区域,为所有的C#代码文件。

That will disable all outlining, including regions, for all c# code files.

这篇关于如何永久禁用在Visual Studio 2008区域折叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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