dotnet/roslyn

Give an option to change C# preprocessor directive color if possible?

Open

#76.763 aperta il 15 gen 2025

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEhelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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. image.png

Give an example to C++ code. image.png


Original Comments

Feedback Bot on 1/14/2025, 00:35 AM:

Feedback Bot on 1/14/2025, 11:48 PM:

Guida contributor