dotnet/roslyn

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

Open

#76,763 创建于 2025年1月15日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C# (4,257 fork)batch import
Area-IDEhelp wanted

仓库指标

Star
 (20,414 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

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:

贡献者指南