简体   繁体   English

如何在VS17中更改C#预处理程序指令属性的颜色?

[英]How can I change the color of C# preprocessor directive attribute in VS17?

I know how to change the color of C++ preprocessor directive attributes in Tools->Options...->Fonts and Colors->C++ Macros, but how can I change it for C#? 我知道如何在Tools-> Options ...-> Fonts and Colors-> C ++ Macros中更改C ++预处理程序指令属性的颜色,但是如何为C#更改颜色?

Here's how the same code shows up for C++ and C#: 这是针对C ++和C#的相同代码的显示方式:

在此处输入图片说明

对于C#,它是工具->选项->环境->字体和颜色->预处理程序关键字

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM