那是什么颜色为Visual Studio构建颜色主题 [英] What color is that? Building a color theme for Visual Studio
问题描述
自定义Visual Studio配色方案时,字体和颜色"区域经常使我感到困惑.
When customizing my Visual Studio color scheme I am often confounded by the "Fonts and Colors" area.
通常,我想更改一种特定的颜色,例如:用于TODO
行的颜色,但是我需要通读100多种颜色名称,以弄清楚是什么.通常我无法弄清楚什么是什么颜色.
Often, I want to change a specific color, say: the color used for TODO
lines, but I need to read through 100s of color names just to figure out what that is. Often I am unable to figure what what color is what.
是否有任何文档列出了哪种颜色?
Is there any documentation out there that lists which colors are which?
甚至更好的是,是否有一个插件可以让我在编辑器中突出显示文本并更改所选文本的方案(弄清楚它是什么颜色)?
Or even better, is there a plugin that allow me to highlight text in the editor and change the scheme of the selected text (figure out what color/s it is)?
推荐答案
我完全同意此列表比较混乱.
I totally agree that this list is messy.
我个人认为工作室样式页有助于创建Visual Studio配色方案.
I personally find the Studio Styles page helpful to create Visual Studio color schemes.
如果单击创建方案,然后将鼠标悬停在不同的代码元素上,它将为您显示工具提示用该项目的名称在Visual Studio中找到它(例如Keyword
,User Types(Delegates)
,Brace Matching(Rectangle)
等):
If you click on Create a scheme and hover over the different code elements it will show you a tooltip with the naming of that item to find it in Visual Studio (like Keyword
, User Types(Delegates)
, Brace Matching(Rectangle)
etc.):
当然,您也可以只构建完整的主题,然后在其页面上将其导出.它还提供了导入功能,可以直接在此处更改您现有的Visual Studio方案.
Of course you could also just build the complete theme then on their page and export it. It also provides an import functionality to change your pre-existing Visual Studio scheme directly there.
无论如何,我也很想直接在Visual Studio中进行扩展;)
Anyhow, I would also love to have an extension to do so directly in Visual Studio ;)
这篇关于那是什么颜色为Visual Studio构建颜色主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!