如何在Visual Studio 2019中删除功能最小化边栏 [英] How to remove the function minimize sidebar in Visual Studio 2019

查看:66
本文介绍了如何在Visual Studio 2019中删除功能最小化边栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Studio 2019中删除代码左侧的小侧边栏?我的意思是,每个功能或代码块标题旁边都会出现小减号,如果单击该图标或代码块,则将其最小化.

How can I remove the little sidebar to the left of the code in Visual Studio 2019? I mean the little minus signs that appear next to each function or code block header and, if clicked, minimize that function or code block.

是否可以禁用这些功能?

Is there a way to disable these?

推荐答案

该功能被称为概述".并启用/禁用它是特定于语言的.在所有情况下,请使用选项"来自工具"的命令菜单,然后在显示的弹出框的左侧窗格中,打开文本编辑器"节点.

The feature is known as "outlining" and enabling/disabling it is language-specific. In all cases, use the "Options" command from the "Tools" menu and then, in the left-hand pane of the displayed pop-up box, open the "Text Editor" node.

对于C/C ++文件,该选项位于查看"子节点:

For C/C++ files, the option is under the "View" sub-node:

对于C#文件(以及Basic,F#和Python),它位于高级"下:

For C# files (and also Basic, F# and Python), it's under "Advanced":

对于其他语言,它可能位于其中的一个或其他地方,但我不能保证.在所有情况下,更改仅对在更改选项后 打开的文件生效.

For other languages, it's likely to be in one or other of those places, but I can't guarantee that. In all cases, changes only come into effect on files that are opened after the option is changed.

如果您无法找到此选项的另一种特定语言,请告诉我,我会尽力提供帮助.

If you have another specific language for which you can't find this option, just let me know and I'll try to help.

这篇关于如何在Visual Studio 2019中删除功能最小化边栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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