如何将 Visual Studio 2012 深色主题与 Windows 8 高对比度主题一起使用? [英] How do I use visual studio 2012 dark theme with windows 8 high contrast theme?

查看:25
本文介绍了如何将 Visual Studio 2012 深色主题与 Windows 8 高对比度主题一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Windows 8 中使用标准的 Windows aero 主题时,VS2012 允许我在浅色和深色主题之间进行选择,但我在 Windows 8 中为自己创建了一个方便的高对比度主题,现在在显示高对比度"的 VS 设置,我无法更改.

When I use a standard Windows aero theme in Windows 8, the VS2012 lets me to choose between light and dark themes, but I created myself a convenient high contrast theme in Windows 8, and now there is only a greyed option in the VS settings that says "high contrast", and I cannot change it.

我属于少数人,喜欢 Visual Studio 新的深色主题,但遗憾的是我无法将它与新的高对比度 Windows 主题一起使用.

I belong to the few people, who like the new dark theme of Visual Studio, but unfortunately I can't use it with the new high contrast Windows themes.

有人可以帮我解决这个问题吗?

Can someone help me with this one?

推荐答案

我的同事找到了一种在 Windows 使用高对比度模式时在 Visual Studio 中使用深色主题的方法.他遵循以下步骤:

My colleague found a way to use the Dark theme in Visual Studio when Windows uses the High Contrast mode. He followed these steps:

  1. 导出此注册表项:

HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio11.0_ConfigThemes{1ded0138-47ce-435e-84ef-9ec1f439b749}(这应该是黑暗主题的关键)

HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio11.0_ConfigThemes{1ded0138-47ce-435e-84ef-9ec1f439b749} (this should the key of the Dark theme)

  1. 在导出的文件中,将深色主题的 GUID ({1ded0138-47ce-435e-84ef-9ec1f439b749}) 替换为高对比度主题的 GUID ({a5c004b4-2d4b-494e-bf01-45fc492522c7}):

  1. In the exported file replace the GUID of the Dark Theme ({1ded0138-47ce-435e-84ef-9ec1f439b749}) with the GUID of the High Contrast theme ({a5c004b4-2d4b-494e-bf01-45fc492522c7}):

导入reg文件

启动 Visual Studio.这对他有用.甚至可以将高对比度主题的主题设置与深色主题的主题设置混合.只需将其中一个子键内容替换为另一个主题的子键之一即可.

Start Visual Studio. This works for him. It's even possible to mix theme settings from the High Contrast theme with those of the Dark theme. Just replace one of the subkeys content with one of the subkeys of another theme.

主题的 GUID 在我们的两个系统上似乎相同.但是在尝试之前,您应该始终检查它们.还建议备份密钥!

The GUID's for the themes appear to be the same on both our systems. But you should always check them before you try this. Also a backup of the keys is recommended!

这篇关于如何将 Visual Studio 2012 深色主题与 Windows 8 高对比度主题一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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