Visual Studio 解决方案资源管理器,突出显示活动项颜色
在 Visual Studio 2008 中,有没有办法更改解决方案资源管理器中突出显示项目的背景颜色?当前设置使该项目在解决方案资源管理器具有焦点(蓝色)时非常明显,但当编辑器具有焦点时,背景颜色是非常浅的灰色,这使得它几乎无法看到。我讨厌必须导航到类型的定义,然后必须将解决方案资源管理器焦点放在解决方案中当前文件所在的位置。
非常感谢。
In Visual Studio 2008, is there any way to change the background color of the highlighted item in the Solution Explorer? The current setting makes the item quite visible when the Solution Explorer has focus (blue), but when the editor has focus, the background color is a very light gray, which makes it near impossible to see. I hate having to navigate to a type's definition, and then have to give the Solution Explorer focus to see where in the solution the current file lies.
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
它与Windows高级颜色选择器对话框中名为“3D对象”的系统颜色有关。
如果使用 Aero 主题更改此颜色,它会影响 MDI 窗口,并且还会更改非活动窗口中所选项目的颜色。
逻辑是吧???
希望这会有所帮助。
皮埃尔.
It is related to a system color named "3D Objects" in the advanded color selector dialog box of Windows.
If you change this color, using aero themes, it affects MDI windows and it also changes the color of the selected item in an inactive window.
Logic, isn'it ???
Hope this will be helpfull.
Pierre.
原来这是 Windows 设置,VS 无法控制它。如果您想深入研究使用十六进制编辑器自定义窗口皮肤的黑暗艺术(Vista 需要),那么这里有一个教程 此处了解如何完成此操作。但不确定 Windows 主题的哪个属性会影响此行为,因为该教程中提到的只是窗口具有焦点时的所选项目突出显示。
Turns out this is a Windows setting, and VS has no control over it. If you want to delve into the dark art of custom windows skinning with a Hex editor (as is needed for Vista), then there is a tutorial here on how this can be done. Unsure which property of a Windows Theme affects this behavior though, as all that is mentioned in that tutorial is the Selected Item Highlighting when a window has focus.
尝试使用“工具”>选项>环境>字体和颜色>显示项目>选定的文本。
设置项目背景颜色(例如,我将其设置为洋红色,因此它确实很突出)。
Try using Tools > Options > Environment > Fonts and Colors > Display Items > Selected Text.
Set the Item Background colour (eg, I set mine to Magenta so it really stands out).
我认为这与Windows有关,因为Windows中的所有树视图都是这样的。您可以通过检查“资源管理器”文件夹树来确定。
我试图找到如何在所选项目失去焦点后更改其突出显示颜色,但我找不到任何有用的东西。
相关主题:
更改 Visual Studio 中解决方案资源管理器的背景颜色
2008 解决方案资源管理器焦点颜色
I think this is related to windows because all the treeviews in windows behave like this. you can make sure by checking the "Explorer" folder Tree.
I tried to find how we can change the highlight color for Selected Items after it loses focus I couldn't find anything helpful.
related topics:
Change background color of Solution Explorer in Visual Studio
2008 Solution Explorer Focus colors