Keil5编辑器字体、背景颜色修改

1、“Edit”--->“Configuration”--->“Color & Fonts”

2、“C/C++ Editor files”,将所有元素的背景色“Blackgound”,都改为红(30)、绿(30)、蓝(30):

3、然后更改每个元素前景色:

  Text,默认文字,红220、绿220、蓝220;

  Number,数字,红255、绿0、蓝0;

  Operator,操作符,红255、绿0、蓝255;

  Block Comment,Line Comment,块注释与行注释,红0、绿127、蓝0;

  Keyword,关键字,红0、绿255、蓝255;

  String,字符串,红255、绿128、蓝0;

  Identifier,标识符,也就是变量名和函数名,红220、绿220、蓝220;

  Preprocessor,预处理命令,就是include,define,红127、绿127、蓝0;

 4. 修改鼠标选中后背景色,上面All Editors中Caret line前景和背景色都改为红64,绿128,蓝128。

    5.  所有修改完后效果如下:

猜你喜欢

转载自blog.csdn.net/fengel_cs/article/details/106605101