Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio change C# method parameter colouring

In Visual Studio 2013, is there a way to change the syntax colouring of C# method parameters?

e.g. Can I have AAA and BBB colored, but not someInt, Foo, ToString

private int MyMethod(int AAA, int BBB)
{
    int someInt = new int();
    someInt = AAA + BBB;
    string Foo = AAA.ToString();
}

I tried going to Tools -> Options -> Environment -> Fonts and Colours -> Text Editor and changing Identifier, but this changed the coloring of just about everything (variables, methods, parameters).

like image 990
Aaroninus Avatar asked Jul 23 '14 19:07

Aaroninus


1 Answers

I recently found this extention while looking for the same thing for TypeScript, apparently it supports C# and VisualBasic, so it may be helpful for you and anybody else looking:

Visual studio SemanticColorizer

like image 172
Krasen Avatar answered Oct 18 '22 13:10

Krasen