简体   繁体   English

Visual Studio 2019 - 隐藏选项卡下的下拉菜单

[英]Visual Studio 2019 - Hide dropdowns underneath tabs

When I open a.cs file in Visual Studio 2019, underneath the tabs I have open are three dropdowns.当我在 Visual Studio 2019 中打开 a.cs 文件时,我打开的选项卡下方是三个下拉菜单。 They show the following tooltip messages when hovered over:它们在悬停时显示以下工具提示消息:

  • Use the dropdown to view other and switch to other projects this file may belong to使用下拉菜单查看其他并切换到此文件可能属于的其他项目

  • Use the drop to view and navigate to other items in this file使用下拉菜单查看和导航到此文件中的其他项目

  • Use the drop to view and navigate to other items in this file使用下拉菜单查看和导航到此文件中的其他项目

Is there anyway to remove these dropdowns?有没有办法删除这些下拉菜单? I don't use them and I feel like they get in the way of what tabs I have open.我不使用它们,我觉得它们妨碍了我打开的标签。 I'm new to Visual Studio and am trying to make it look the way I like.我是 Visual Studio 的新手,正在努力让它看起来像我喜欢的那样。

Those three 'dropdowns' comprise the "Navigation Bar" and enabling/disabling its display is language-specific.这三个“下拉菜单”组成“导航栏”,启用/禁用其显示是特定于语言的。

For your C# (.cs) files, you can disable the display as follows.对于您的 C# (.cs) 文件,您可以按如下方式禁用显示。 From the "Tools" menu, select the "Options" command.从“工具”菜单中,select 中的“选项”命令。 Then, in the displayed pop-up, navigate to the "Text Editor"... "C#".. "General" node in the left-hand pane and then, in the right-hand pane, uncheck the "Navigation bar" checkbox:然后,在显示的弹出窗口中,导航到左侧窗格中的“文本编辑器”...“C#”..“常规”节点,然后在右侧窗格中取消选中“导航栏”复选框:

在此处输入图像描述

To disable that bar for all languages in which it is supported, uncheck the control of the same name displayed when you have navigated to the "Text Editor"... "All Languages"... "General" node of the tree in the left-hand pane:要为所有支持的语言禁用该栏,请取消选中导航到“文本编辑器”时显示的同名控件...“所有语言”...“常规”树中的节点左侧窗格:

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM