Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TODO comment font color in VS2010 with ReSharper and Productivity Power Tools

I just installed the Productivity Power Tools for Visual Studio 2010. I also have ReSharper installed. Prior to the PowerTools installation, my TODO comments (i.e. // TODO: Do Something) were showing up in the code using the font listed under VS options as "Resharper Todo Item". Now it's a dark blue color, and apparently ignoring the setting in the VS options.

I'm using a dark theme, so I can barely read these comments. I've dug through all the options I can find (all of the options in VS options including the new power tools options, and in the ReSharper options), and can't find it.

Any thoughts?

like image 574
Joe Enos Avatar asked Jun 10 '11 22:06

Joe Enos


2 Answers

To change the colour of the TODO items in the text editor, change the environment settings using Visual Studio (Tools -> Options -> Environment -> Fonts and Colors)

Then scroll to the item in the "Display items" list which in this case is "Resharper TODO item"

UPDATE: this applies to Resharper 7.1 and 8.2 upwards as pointed out in this comment

For Resharper 8 < 8.2 please see the solution below by @Soeholm

like image 64
cordal Avatar answered Oct 05 '22 09:10

cordal


I had this problem with Resharper 8.0.1 and none of the other answers helped me since "Resharper TODO item" did not show up in the list.

I found a solution to the problem here:

http://resharper-support.jetbrains.com/entries/26859128-ReSharper-Fonts-Colors-settings-do-not-appear-in-Visual-Studio-after-installation

  1. Close all Visual Studio instances
  2. Open C:\Program Files (x86)\Microsoft Visual Studio {VS version}\Common7\IDE\Extensions\extensions.configurationchanged file
  3. Type anything there
  4. Save the file
  5. Open VS and check Fonts and Colors in Tools | Options | Environment

Hope this helps any Resharper 8 users :-)

like image 32
Soeholm Avatar answered Oct 05 '22 08:10

Soeholm