Change tooltip background color in VS2015

前端 未结 4 1227
小蘑菇
小蘑菇 2020-12-19 01:27

In VS2015 I have the Color Theme Editor extension installed and I\'m using the Dark with Light Editor theme.

The hover tooltips are mostly unreadable as the tooltip

相关标签:
4条回答
  • 2020-12-19 01:59

    This is a fix for users using Windows High Contrast Theme. In such case there is no way to change tooltip background color in Visual Studio options window and neither in Theme Color Editor extension.

    So to fix it:

    1. Go to /AppData/Local/Microsoft/Windows/Themes and find theme you are currently using.
    2. Open it in editor and find section [Control Panel\Colors]
    3. Modify properties InfoText and InfoWindow for example
      • InfoText=255 255 255
      • InfoWindow=0 0 0
    4. Reload current theme (switch to other theme and then back to this)

    Result (Visual Studio 2015 and Windows High Contrast theme):

    A

    0 讨论(0)
  • 2020-12-19 02:12

    Using the Color Theme Editor extension, change the tooltip background color like this:

    1. Click on "Edit Theme"
    2. Click on "Show All Elements" in the menu bar (by default, only "Common Elements" are shown)
    3. Find the Environment -> ToolTip entry. This affects the tooltip background color.
    0 讨论(0)
  • 2020-12-19 02:13

    I am also using Color Theme Editor Extension with the custom theme, based on "Dark with light editor". Actually, the background color of the tooltip for me was
    Environment -> CommandBarMenuBackgroundGradientBegin.
    (see Brandon's answer on how to change it)
    IDE Screenshot

    0 讨论(0)
  • 2020-12-19 02:22

    You can change the tooltip background color like this (do not requires Color Theme Editor extension):

    1. Tools > Options...
    2. Environment > Fonts and Colors
    3. Show settings for: Environment
    4. Display items: ToolTip
    5. Select color from Item background dropdown or click Custom button

    0 讨论(0)
提交回复
热议问题