Visual Studio 2015 tooltip color

前端 未结 2 1150
再見小時候
再見小時候 2020-12-06 09:26

I am just starting to use Visual Studio 2015, and I have run into an annoyance with the tooltip color. The new tooltips have colorized font - which is awesome - but the bac

2条回答
  •  有刺的猬
    2020-12-06 10:26

    Yes, it is possible to change the tooltip coloring in Visual Studio 2015 using the Visual Studio 2015 Color Theme Editor extension. The Color Theme Editor is a Microsoft-authored extension available from the Tools->Extensions & Updates menu item. There is one caveat, however: you must be using a theme (doesn't matter which one) for any of the below instructions to work...so if you have extensively customized your IDE using the Tools->Options settings without using a theme, you are out of luck.

    Once you have the extension installed, go to Tools->Customize Colors and click the "Create Copy of Theme" icon in the upper right corner of your desired base theme (it looks like a painter's palette). A new custom theme will be created using all the same settings as your selected source theme.

    Click on the "Edit Theme" icon, which looks like another painter's palette with a pencil next to it. Once in the theme editor, you will need to click the "Show All Elements" icon in the top row of the window. Then use the Search box on the right to search for "tooltip."

    You will see a collection of "Environment -- " related to tooltips. The one named "Environment--Tooltip" is the background color for the Intellisense tips. A value of FF525252 will yield a dark gray background that seems to play nicely with all of the colorized keywords and punctuation in the new Intellisense popups, and works well with both light and dark editor background themes.

    Save your new custom theme and apply it using the Tools->Change Color Theme menu option...profit!

提交回复
热议问题