dotnet/roslyn
Auf GitHub ansehenGive an option to change C# preprocessor directive color if possible?
Open
#76.763 geöffnet am 15. Jan. 2025
Area-IDEhelp wanted
Repository-Metriken
- Stars
- (20.414 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)
Beschreibung
This issue has been moved from a ticket on Developer Community.
I can change preprocessor color of C++ language by Tools / Options / Environment / Fonts and Colors / C++ Macros.
But I can't do the same to C# language. I found something similar like Preprocessor Keyword or Preprocessor Text options but none of them take effect.
For example, please let me set the C# version of "UNITY_EDITOR" to another color.

Give an example to C++ code.
