Closed asdMild closed 5 years ago
Came across the same issue. Is there a way to just disable the function that "Gray out code excluded by preprocessor" ?
The problem is this:
This is the same thing that Roslyn (the C# compiler) does, so for the same reason it's impossible in Visual Studio to turn this feature off for C# code.
So it's not a case of disabling the feature - the information about how to syntax highlight the excluded code simply isn't there.
I've been looking at alternate methods of syntax highlighting but haven't found yet anything workable yet. Closing this for now unless someone comes up with a good way to implement it.
Preprocessor support is not work well for the shader in ue4