如何在 Visual Studio 2008 中永久禁用区域折叠 [英] How to permanently disable region-folding in Visual Studio 2008
本文介绍了如何在 Visual Studio 2008 中永久禁用区域折叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何在 Visual Studio 2008 中关闭代码折叠吗?我的一些同事喜欢它,但我个人总是希望看到所有的代码,从不希望代码折叠在视线之外.我想要一个设置,这意味着我的 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 #regions
or function bodies.
推荐答案
Edit: 我推荐这个其他答案
转到工具->选项菜单.转到文本编辑器-> 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屋!
查看全文