如何在 Visual Studio 2012 中更改解决方案资源管理器的背景颜色? [英] How do you change the background colour for Solution Explorer in Visual Studio 2012?

查看:72
本文介绍了如何在 Visual Studio 2012 中更改解决方案资源管理器的背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不喜欢 VS 2012 的Light"主题.我已经设法改变了一些东西以使其更好,但有一点仍然让我烦恼 - 解决方案资源管理器背景是浅灰色的事实颜色.有没有办法把它改回白色?我在选项">环境">字体和颜色"中看不到解决方案资源管理器的条目,那么我该如何更改?它是否存储在某个主题文件中?

I really don't like the "Light" theme of VS 2012. I've managed to change a few things to make it better but one thing is still annoying me - the fact that the solution explorer background is a light grey colour. Is there a way to change this back to white? I can't see an entry for Solution Explorer in Options > Environment > Fonts and Colors, so how can I change this? Is it stored in a theme file somewhere?

(请注意,我不打算以编程方式执行此操作,因此这不是对现有类似问题的重复)

推荐答案

我发现最简单的解决方案是使用这个 Microsoft 开发的 Visual Studio 2012 颜色主题编辑器,只需选择蓝色主题即可有效获取 VS 2010 颜色返回:

I've found that easiest solution is to use this Microsoft-developed Visual Studio 2012 Color Theme Editor and just select the Blue theme to effectively get the VS 2010 colours back:

http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05

在长长的 UI 元素列表中节省数小时的挖掘时间.您只需选择另一个预设主题即可完成:)

Saves digging around for hours in long lists of UI elements. You just select another preset theme and you're done :)

以下是使用 VS2012 颜色主题编辑器的步骤:

EDIT : Here are steps using the VS2012 Color Theme Editor:

  1. 工具 --> 自定义颜色
  2. 新主题 --> 从一个现成的主题创建一个新主题,点击创建
  3. 将鼠标悬停在您的新自定义主题上,点击编辑主题
  4. 神奇的步骤:在主题标签下,点击第 5 个按钮显示所有元素",在这里您可以找到您要找的内容
  5. TreeView --> 背景,这会改变解决方案资源管理器的颜色
  6. Environment --> ToolWindowBackground,团队资源管理器背景的颜色(我的宠物,因为这个 UI 上的对比度通常需要在控件和窗口之间进行调整)
  1. Tools --> Customize Colors
  2. New Theme --> create a new theme from one of the ready made themes, hit Create
  3. Hover over your new Custom Theme, hit Edit Theme
  4. Magical Step: Directly under the theme tab, click the 5th button "Show All Elements", here you can find what you're looking for
  5. TreeView --> Background, this changes the color of the Solution Explorer
  6. Environment --> ToolWindowBackground, color for background of Team Explorer (my pet peeve, since the contrast on this UI usually needs tweaking between controls and window)

更新

Visual Studio 2012 Update 3 现在默认包含旧的蓝色"主题,因此如果您更新到此版本您可以轻松选择旧的蓝色主题,而无需跳过上面的圈套,如果这就是您想要的效果.

Visual Studio 2012 Update 3 now includes the old "Blue" theme by default, so if you update to this version you can easily select the old blue theme without jumping throught he hoops above, if that's all you wanted to achieve.

这篇关于如何在 Visual Studio 2012 中更改解决方案资源管理器的背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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