IDE中的Visual Studio选项卡标题颜色 [英] Visual Studio tab header color in the IDE

查看:247
本文介绍了IDE中的Visual Studio选项卡标题颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天打开Visual Studio时,我观察到选项卡的背景色发生了变化,如图所示.

如何将其设置为旧/默认颜色?在工具"->选项"之后,我没有找到任何有用的信息.

解决方案

您具有安装了Productivity Power Tools扩展,该功能除其他功能外,还可以自定义标签的颜色.想法是,您可以根据标签所关联的项目和/或文件的编写语言(通过文件扩展名来实现)为标签着色.

这些选项卡着色功能都是常规自定义文档库"程序包的一部分,该程序包为文档选项卡提供了一系列高级自定义选项.如果您不需要这些,但使用了Productivity Power Tools的其他功能,则可以将其关闭.转到工具→设置→生产力电动工具,然后关闭自定义文档":

如果您只想禁用颜色并将选项卡恢复为默认颜色,请转至工具→.设置→生产力电动工具自定义文档库,然后取消选中两个颜色选项卡"复选框:

如果您只是不喜欢默认颜色而想要更改它们,则可以通过转到Tools→来完成.设置→生产力电动工具定制文件井→颜色编码:

还有其他有趣的选择;一定要探索!就个人而言,这是我最喜欢的功能之一,因为它使我能够一目了然地区分标头,C代码,C ++代码,汇编代码和资源文件,从而轻松找到我要切换到的文件.我识别颜色的速度比阅读名字的速度快得多. (由于我倾向于一次只从事一个项目,因此项目着色对我来说用处不大,但出于相同的原因,我也看到它也非常有用.人类已经进化出能够迅速区分颜色的方法.)

更新:这不适用于Visual Studio 2019;请参见请参阅此开发者社区线程社区请求支持,随后Microsoft拒绝了支持.

When I opened Visual Studio today, I observed there is a change in the background colour of the tabs, as shown in the picture.

How can I set it to the old/default color? Following Tools->Options, I didn't manage to find anything helpful.

解决方案

You have the Productivity Power Tools extension installed, which, among other features, allows customizing the colors of tabs. The idea is that you can color tabs based either on the project with which they are associated and/or the language in which the file is written (which is implemented via the file extension).

These tab-coloring features are all part of the general "Custom Document Well" package, which provides a bunch of advanced customization options for the document tabs. If you don't want any of these, but use other features of Productivity Power Tools, then you can turn them off. Go to Tools → Settings → Productivity Power Tools, and then turn "off" Custom Document Well:

If you just want to disable the coloring and return the tabs to their default colors, then go to Tools → Settings → Productivity Power Tools → Custom Document Well, and uncheck both of the "Color tabs" checkboxes:

If you just don't like the default colors and want to change them, then you can do so by going to Tools → Settings → Productivity Power Tools → Custom Document Well → Color Coding:

There are other interesting options, too; be sure to explore! Personally, this is one of my favorite features because it allows me to distinguish between headers, C code, C++ code, assembly code, and resource files at a glance, making it easy to find the one I want to switch to. I can recognize colors a lot faster than I can read names. (The project coloring is less useful to me since I tend to work on only one project at a time, but I can see that being very useful, too, for the same reasons. Humans have evolved to distinguish color very quickly.)

Update: This is not available for Visual Studio 2019; see this Developer Community thread where support was requested by the community and subsequently denied by Microsoft.

这篇关于IDE中的Visual Studio选项卡标题颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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