Search code examples
c#visual-studiovisual-studio-2019intellisense

how to fix wierd intellisense coloring ( VS 2019 )


I just upgraded to visual studio 2019 from 2017 and a lot of colors changed in the formatting. I have been changing it back to the old colors but there's something wierd that I don't know how to fix.

calling methods show the method with a diffrent color depending on the parameters, and I want them both to show the same color.

Example:


    public void method( int  t){
     
    }
     
    public int a;
    public vector3Int v;
     
    ///////
     
    method( a); /// method shows as teal color
    method(v.z); /// method shows as black color

so the fact that I have a parameter that is an int is showing one color and when the parameter is a vector.z it shows another color, even though both are ints, obviously this is discriminating between a direct int and a int inside a struct, the question is, how do I fix this so they are both the same color?


Solution

  • I fixed it by changing color on Tools -> Fonts and Colors -> User Types : Methods