简体   繁体   English

如何在 Visual Studio 2022 中设置自定义选项卡 colors

[英]How to set customized tab colors in Visual Studio 2022

In Visual Studio 2015 and 2017 it was possible to choose an individual tab color for each project using the addon "Productivity Power Tools", see also http://dev.goshoom.net/2020/08/colored-tabs-in-visual-studio/在 Visual Studio 2015 和 2017 中,可以使用插件“Productivity Power Tools”为每个项目选择单独的选项卡颜色,另请参阅http://dev.goshoom.net/2020/08/colored-tabs-in-visual -工作室/

Although Visual Studio 2022 offers a possibility to enable tab colors by project (menu Tools > Options > Tabs & Windows, and enable Colorize Tabs), it looks as if the color that is assigned to each project can't be chosen by the user.尽管 Visual Studio 2022 提供了按项目启用选项卡 colors 的可能性(菜单工具 > 选项 > 选项卡和 Windows,并启用为选项卡着色),但看起来用户无法选择分配给每个项目的颜色。 Does anybody know if there's any other way to choose it?有谁知道是否有任何其他方式可以选择它?

In Visual Studio 2022 the colors for the project tabs are not fixed and can be set by the user after enabling tab color first (Tools > Options > Tabs & Windows, and enable Colorize Tabs)在 Visual Studio 2022 中,项目选项卡的 colors 不是固定的,可以在首先启用选项卡颜色后由用户设置(工具 > 选项 > 选项卡 & Windows,并启用颜色化选项卡)

You can then set the color from some predetermined options by right clicking on a file tab then selecting (Select Tab Color > YOUR COLOR CHOICE)然后,您可以通过右键单击文件选项卡然后选择(选择选项卡颜色>您的颜色选择)来设置一些预定选项的颜色

The colours are fixed.颜色是固定的。

There is a feedback item requesting more flexibility: https://developercommunity.visualstudio.com/t/color-coded-tabs-in-visual-studio/351700有一个反馈项要求更高的灵活性: https://developercommunity.visualstudio.com/t/color-coded-tabs-in-visual-studio/351700

You can use my Tabs Studio extension to choose an individual tab color for each project:您可以使用我的Tabs Studio扩展为每个项目选择单独的选项卡颜色:

在此处输入图像描述

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

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