Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Class names not coloured in Visual Studio 2012

I am evaluating Visual Studio 2012 and am having some problems with the color schema.
Sure enough I was able to overcome the initial discomfort by setting my color for the text editor.
One thing I have not been able to set corrent are the color for the class names. Say you have a line like below.

Class name = new Class();

the entire line is in the same color, expect the new keyword.
I want the word 'Class' to be in a different color like in earlier versions of Visual Studio.
I am not able to set the color for this from the Option.
I have tried chaning color for all fields like plain text, literals, identifier, etc under
Tool -> Option -> Environment -> Font & Colors but still I am not able to fix this. I have also applied custome themes, those are also not helping.
I wouldn't want to install a productivity power tool for such basic preference right ??

Edit:
I'm on Windows 7 x64 and Visual Studio Professional 2012, Version 11.0.50727.1 RTMREL

like image 219
Vignesh.N Avatar asked Sep 05 '12 07:09

Vignesh.N


Video Answer


2 Answers

The solution I found is a combination of the suggestions found in a mish mash of related threads:

  1. Close Visual Studio and open the VS command prompt as an administrator. Navigate to the devenv.exe file (in Express versions it is titled something along the lines of *express.exe) usually located in C://Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE.

  2. Type devenv.exe /setup

  3. Reopen Visual Studio. If everything is all colored now, great! If not, close the tabs and reopen them.

Performing all of step 3 is what has got my coloring to come back to normal.

Here is where I got the suggestions:

Visual Studio 2012 - Intellisense sometimes disappearing / broken

How can I get user type C# syntax highlighting working again in VS 2012 RC?

like image 125
mlam13 Avatar answered Sep 20 '22 10:09

mlam13


If you're using Productive Power Tools, go to => Tools -> Options -> Productive Power Tools. In main menu, TURN OFF the option: Colorized Parameter Help. I solved my problem, I'm on Windows 8 Pro, Visual Studio 2012 Ultimate.

like image 34
Marcos Avatar answered Sep 20 '22 10:09

Marcos