Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper color identifiers screw up with Visual Studio 2012 dark theme

We're experiencing an annoying problem issues with ReSharper's color identifiers feature when Visual Studio 2012 is set to the built-in dark theme.

With ReSharper's color identifiers disabled, the code looks fine:

Code looking fine

Then, we enable ReSharper's color identifiers:

ReSharper's code inspection settings

And now the code is completly unreadable:

Some unreadable code

The curious thing, on a colleague's machine, the same code, with the same Visual Studio and ReSharper settings... looks right:

Some good-looking code

We tried reinitializing both Visual Studio and ReSharper settings, disabling add-ons and extensions and other voodoos to no avail.

Here are our setups:

  • My add-ins - His add-ins
  • My extensions - His extensions
  • My system informations - His system informations
like image 255
Albireo Avatar asked May 02 '13 10:05

Albireo


3 Answers

I had this same problem with vs2013 and resharper 8. I was able to fix by following these steps:

  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

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

like image 156
dan Avatar answered Nov 08 '22 01:11

dan


I had the same problem too in VS2013, unfortunately editing the configurationchanged file didn't work for me. However I fixed it by doing the following:

  1. deleting the following registry key:

    HKCU\Software\Microsoft\VisualStudio\12.0_Config

  2. Run devenv /ResetSettings from VS 2013 admin command prompt
like image 39
Adriaan de Beer Avatar answered Nov 08 '22 02:11

Adriaan de Beer


By diffing our system information, I noticed three add-ins I had my colleague didn't (JetBrains TeamCity Addin 7.1, VisualSVN 3.0.5 and Git Extensions).

Trying to disable them one by one I found out the culprit is the add-in for TeamCity: as soon as I uninstalled it (it's not reported in Visual Studio, and you can't disable it) the color scheme fixed itself.

The funny thing is both ReSharper and the TeamCity add-ins are provided by JetBrains.

like image 24
Albireo Avatar answered Nov 08 '22 00:11

Albireo