打开C:\Keil_v5\UV4/global.prop文件,找到以下参数替换:
font.monospace.cpp=Courier New
font.acpmonofontname.cpp=Courier New
font.acppropfontname.cpp=Courier New
style.cpp.32=font:Courier New,size:14,fore:#000000,back:#CCE8D2
style.cpp.4=font:Courier New,size:14,fore:#007F7F,back:#CCE8D2
style.cpp.10=font:Courier New,size:14,fore:#000000,back:#CCE8D2
style.cpp.1=font:Courier New,size:14,fore:#007F00,back:#CCE8D2
style.cpp.2=font:Courier New,size:14,fore:#007F00,back:#CCE8D2
style.cpp.5=font:Courier New,size:14,fore:#0000FF,back:#CCE8D2
style.cpp.6=font:Courier New,size:14,fore:#7F007F,back:#CCE8D2
style.cpp.11=font:Courier New,size:14,fore:#000000,back:#CCE8D2
style.cpp.9=font:Courier New,size:14,fore:#7F7F00,back:#CCE8D2
style.cpp.7=font:Courier New,size:14,fore:#7F007F,back:#CCE8D2
style.cpp.34=font:Courier New,size:14,fore:#500000,back:#20FFFF
style.cpp.35=font:Courier New,size:14,fore:#FF0000,back:#CCE8D2
style.cpp.16=font:Courier New,size:14,fore:#B00040,back:#CCE8D2
style.cpp.12=font:Courier New,size:14,fore:#000000,back:#E0C0E0
效果:
背景颜色修改:
keil设置tab为4个空格Configuration->Editor
设置支持中文:
新装的keil支持stm32要下载固件库,但是经常下载失败,所以直接从别的地方考过来放在keil安装目录下,stm32的固件库位置:C:\Keil_v5\ARM\PACK\Keil
本文地址:https://blog.csdn.net/qq_41976419/article/details/109637637