Visual Studio 2013 更新 2 - 删除 C# 导航栏中的项目下拉列表? [英] Visual Studio 2013 Update 2 - Remove Project dropdown in C# navigation bar?

查看:18
本文介绍了Visual Studio 2013 更新 2 - 删除 C# 导航栏中的项目下拉列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将我的 Visual Studio 2013 更新为 Update 2 RTM.现在对于我的 C# 文件,导航栏有一个用于 Projects 的新下拉菜单,而不是像以前那样只有 TypesMembers.Projects 下拉菜单占用了宝贵的屏幕空间.

有没有办法隐藏导航栏中的 Project 下拉菜单?

参见 ,它似乎是一个新功能,旨在帮助您管理 通用应用.我同意这令人困惑,而且我不是一个忠实的粉丝.

彻底搜索 VS 选项以查找与导航栏"、上下文切换器"或通用应用程序"相关的任何内容,结果都是空的,而且似乎也没有任何扩展提供此功能.据我所知,这些将是配置的主要途径,所以我的结论是,在下一次 VS 更新或有人开始制作可以禁用它的扩展之前,我们一直坚持使用它.

如果您愿意,可以在工具 > 选项 > 文本编辑器 > 所有语言 > 导航栏"中完全禁用导航栏(或者您可以按语言禁用导航栏.)

更新:Visual Studio 2013 Update 3 开始,您可以拖动和调整导航栏中 3 个下拉列表的相对大小.

从一些本地测试来看,您设置的大小似乎在所有文件和解决方案之间共享,并且在关闭并重新打开 Visual Studio 后仍然存在.

我将上下文切换器缩小到仅可见文本,感觉更匀称,更接近经典的 Class 和 Member 下拉布局.

I recently updated my Visual Studio 2013 to Update 2 RTM. Now for my C# files, the navigation bar has a new dropdown for Projects, instead of just having Types and Members like it used to. The Projects dropdown is taking up valuable screen real estate.

Is there a way to hide that Project dropdown in the navigation bar?

See this link for a picture of what a navigation bar looks like.

Update: I added a picture of what my navigation bar looks like for a C# file.

解决方案

I don't think as things currently stand that you can disable it, but its name is apparently "Context Switcher".

According to this MSDN blog, it would appear to be a new feature intended to help you manage shared files in Universal Apps. I agree that it's confusing, and I'm not a big fan.

A thorough search of the VS options for anything related to "Navigation Bar", "Context Switcher", or "Universal Apps" comes up empty and there don't seem to be any extensions offering this capability either. As far as I know these would be the main avenues for configuration, so my conclusion is that we are stuck with it until the next VS update or until someone gets around to making an extension that can disable it.

If you prefer, you can disable the navigation bar entirely in "Tools > Options > Text Editor > All Languages > Navigation Bar" (or you can disable the bar on a language by language basis.)

Update: As of Visual Studio 2013 Update 3, you can drag and adjust the relative sizing of the 3 drop down lists in the navigation bar.

From a little local testing it looks like the sizing you set is shared between all files and solutions and it persists after closing and reopening visual studio.

I shrank the context switcher down to just the visible text, and it feels more well proportioned and closer to the classic Class and Member drop down layout.

这篇关于Visual Studio 2013 更新 2 - 删除 C# 导航栏中的项目下拉列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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