11
Vote

Only default colors work

description

Changing the foreground colors in the options has no effect. The Output window continues to use the default colors. I have the Dark theme in VS 2012.

comments

blueonion wrote Oct 21, 2013 at 3:21 PM

There's an issue with color notifications not firing in 2012. I logged a bug on this a year ago. MS claimed they fixed it and I confirmed that they didn't fix it. They dropped it after that.

If you exit and restart it usually picks up. But there are other bugs as well with the way "automatic" and "default" colors are handled, which MS never resolved.

So if you still have issues, you will have to set the colors of the output window to an explicit colors.

It's a lot of horsing around for what should be a straightforward process. It's also why I got out of the extension business. Too many internal bugs in VS.

kendfrey wrote Oct 21, 2013 at 4:39 PM

Would there be any way to fix the colors, maybe through the registry or a configuration file?

blueonion wrote Oct 21, 2013 at 5:21 PM

Nope. Here's how to get it to work.

Set your Output background colors explicitly. You'll need to use a color different than the default color or VS will reset it to "default". Just change the color by one digit and it will stick.

Set your VSOutputColors background colors to the same value.

Restart Visual Studio.

kendfrey wrote Oct 21, 2013 at 5:28 PM

No luck with that. The foreground colors are unchanged.

paveo wrote Jan 17, 2014 at 10:41 AM

This problem occurs because all VSColorOutput color settings are placed in "Text Editor" category instead of "Output Window". The solution is quite simple, but very uncomfortable:
  1. Set all VSColorOutput colors as you wish
  2. Set Output WIndow -> PlaintText colors to non default values
  3. Export color settings to a file and open it in a text editor
  4. Move or copy all VSColorOutput entries from "Text Editor" category (GUID={75A05685-00A8-4DED-BAE5-E7A50BFA929A}) to "Output Window" category (GUID={9973EFDF-317D-431C-8BC1-5E88CBFD4F7F}) and save the file.
  5. Import back color settings in Visual Studio and restart it.
Unfortunately you must repeat these steps each time you can change any VSColorOutput color value.
Good Luck!

paveo wrote Jan 17, 2014 at 10:44 AM

The solution I wrote above was tested in Visual Studio 2013.

hastarin wrote Jan 23, 2014 at 12:53 AM

@paveo Thanks for the workaround. I can confirm this works for VS 2012 (Update 4) as well.

v1984 wrote Nov 3, 2014 at 4:01 PM

@paveo how do you export color settings in VS2013?

I have the same issue: changing the text color does not affect the output text. If you use the dark theme this bug is quite annoying. It works fine for the background color though.

v1984 wrote Nov 4, 2014 at 12:37 PM

I found the way to Export/Import. It was in TOOLS > Import and Export Settings...

You need to:
  1. Change the settings in TOOLS > Options > Environment > Fonts and Colors for "Text Editor"
  2. Close and reopen VS2013
  3. Select TOOLS > Import and Export Settings...
  4. Export only Options > Environment > Fonts and Colors
  5. Edit the exported settings as described by @paveo, but you can find below a nice setup for VS dark skin
  6. Import the file again
  7. Close and reopen VS2013
Here is my XML settings:
               <Category GUID="{75A05685-00A8-4DED-BAE5-E7A50BFA929A}" FontIsDefault="Yes">
                  <Items>
                     <Item Name="BuildHead" Foreground="0x0040FF00" Background="0x00262525" BoldFont="No" />
                     <Item Name="BuildText" Foreground="0x00FFFFFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogError" Foreground="0x000000FF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogWarning" Foreground="0x0000FFFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogInformation" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom1" Foreground="0x00800080" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom2" Foreground="0x007A96E9" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom3" Foreground="0x00008CFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom4" Foreground="0x002A2AA5" Background="0x00262525" BoldFont="No" />
                     <Item Name="FindResultsSearchTerm" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                     <Item Name="FindResultsFilename" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                  </Items>
               </Category>
               <Category GUID="{9973EFDF-317D-431C-8BC1-5E88CBFD4F7F}" FontIsDefault="Yes">
                  <Items>
                     <Item Name="BuildHead" Foreground="0x0040FF00" Background="0x00262525" BoldFont="No" />
                     <Item Name="BuildText" Foreground="0x00FFFFFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogError" Foreground="0x000000FF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogWarning" Foreground="0x0000FFFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogInformation" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom1" Foreground="0x00800080" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom2" Foreground="0x007A96E9" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom3" Foreground="0x00008CFF" Background="0x00262525" BoldFont="No" />
                     <Item Name="LogCustom4" Foreground="0x002A2AA5" Background="0x00262525" BoldFont="No" />
                     <Item Name="FindResultsSearchTerm" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                     <Item Name="FindResultsFilename" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                  </Items>
               </Category>

v1984 wrote Nov 4, 2014 at 12:51 PM

This fixes the find result screen:
               <Category GUID="{5C48B2CB-0366-4FBF-9786-0BB37E945687}" FontIsDefault="Yes">
                  <Items>
                     <Item Name="FindResultsSearchTerm" Foreground="0x00FF9933" Background="0x00262525" BoldFont="No" />
                     <Item Name="FindResultsFilename" Foreground="0x00B4B4B4" Background="0x00262525" BoldFont="No" />
                  </Items>
               </Category>