keil主题(vscode风格)

#修改global.prop文件,重新打开keil即可

复制代码
# Keil uVision Global Properties File
# This file is used to customize the appearance of the editor

# Editor Font
editor.font.name=Consolas
editor.font.size=10
editor.font.style=0

# Editor Colors
editor.background.color=0x1E1E1E
editor.foreground.color=0xD4D4D4
editor.selection.background.color=0x264F78
editor.selection.foreground.color=0xFFFFFF
editor.caret.color=0xD4D4D4
editor.line.number.color=0x858585
editor.current.line.color=0x2D2D2D
editor.indent.guide.color=0x404040

# Syntax Highlighting Colors
syntax.keyword.color=0x569CD6
syntax.comment.color=0x57A64A
syntax.string.color=0xD69D85
syntax.number.color=0xB5CEA8
syntax.operator.color=0xD4D4D4
syntax.preprocessor.color=0x569CD6
syntax.identifier.color=0xD4D4D4
syntax.function.color=0xDCDCAA
syntax.type.color=0x4EC9B0
syntax.constant.color=0xB5CEA8
syntax.error.color=0xFF0000

# Other Editor Settings
editor.show.line.numbers=true
editor.show.whitespace=false
editor.show.indent.guides=true
editor.word.wrap=false
editor.tab.size=4
editor.insert.spaces=false
editor.auto.indent=true
editor.match.braces=true
editor.highlight.current.line=true

# properties for all file types
indent.automatic=1
virtual.space=0
view.whitespace=0
view.endofline=0
code.page=936
caretline.visible=1
highlight.matchingbraces=1
print.syntax.coloring=1
use.tab.color=1
create.backup.files=0
auto.load.ext.modfiles=0
save.prj.before.dbg=0
save.files.before.dbg=0
function.scanner.project=1
function.scanner.files=1
function.scanner.modules=1

# properties for c/cpp files
syntax.colouring.cpp=1
use.tab.cpp=0
tabsize.cpp=4
line.margin.visible.cpp=1
fold.cpp=1
monospaced.font.cpp=1

# properties for asm files
syntax.colouring.asm=1
use.tab.asm=0
tabsize.asm=4
line.margin.visible.asm=1
monospaced.font.asm=1

# properties for other files
use.tabs=0
tabsize=4
line.margin.visible.txt=0
monospaced.font.txt=1

# setting for code completion and syntax check
cc.autolist=1
cc.highlightsyntax=1
cc.showparameters=1
cc.triggerlist=1
cc.triggernumchars=3
cc.enter.as.fillup=0
cc.usealpha4inactcode=1
cc.alphavalue=50

# autosave for editor files
autosave=0
autosave.interval=5

# vertical edge at right margin
edge.mode=0
edge.column=80

# Specification for text selection and caret line
selection.fore=#000000
selection.back=#005EB3
caret.fore=#FFFFFF
caret.back=#000000

# Color for vertical edge
edge.colour=#66FAFA

# C/C++ Editor files
template.cpp="#define","#define |";"#if","#if |\r\n\r\n#endif";\\
    "#include","#include ";"Header","// Header:\r\n// File Name: |\r\n// Author:\r\n// Date:\r\n";\\
    "continue","continue;";"do","do\r\n{\r\n\t// TODO: enter the block content here\r\n\t\r\n\t|\r\n} while ();\r\n";\\
    "enum","enum |\r\n{\r\n\t\r\n};\r\n";"for","for(|;;)\r\n{\r\n}";\\
    "fpointer_type","typedef int (* |F)();\r\n";"function","void function(|)\r\n{\r\n\r\n}\r\n";\\
    "if","if (|)";"ifelse","if (|)\r\n{\r\n}\r\nelse\r\n{\r\n}";\\
    "struct","struct | \r\n{\r\n\r\n};\r\n";"switch","switch (|)\r\n{\r\n\tcase:\r\n\t\tbreak;\r\n\tcase:\r\n\t\tbreak;\r\n\tdefault:\r\n\t\tbreak;\r\n}";\\
    "void","void | ();\r\n";"while","while (|)\r\n{\r\n}";\\
    
font.monospace.cpp=Fixedsys
font.acpmonofontname.cpp=Fixedsys
font.acppropfontname.cpp=Fixedsys
style.cpp.32=font:Fixedsys,size:14,fore:#9CDCFE,back:#1E1E1E
style.cpp.4=font:Fixedsys,size:14,fore:#4EC9B0,back:#1E1E1E
style.cpp.10=font:Fixedsys,size:14,fore:#DCDCDC,back:#1E1E1E
style.cpp.1=font:Fixedsys,size:14,fore:#57A64A,back:#1E1E1E
style.cpp.2=font:Fixedsys,size:14,fore:#007F00,back:#1E1E1E
style.cpp.5=font:Fixedsys,size:14,fore:#007ACC,back:#1E1E1E
style.cpp.6=font:Fixedsys,size:14,fore:#FF80FF,back:#1E1E1E
style.cpp.11=font:Fixedsys,size:14,fore:#DCDCDC,back:#1E1E1E
style.cpp.9=font:Fixedsys,size:14,fore:#4EC9B0,back:#1E1E1E
style.cpp.7=font:Fixedsys,size:14,fore:#FF80FF,back:#1E1E1E
style.cpp.34=font:Fixedsys,size:14,fore:#500000,back:#007ACC
style.cpp.35=font:Fixedsys,size:14,fore:#FF0000,back:#1E1E1E
style.cpp.16=font:Fixedsys,size:14,fore:#9CDCFE,back:#1E1E1E
style.cpp.12=font:Fixedsys,size:14,fore:#FF80FF,back:#1E1E1E
style.cpp.86=font:Fixedsys,size:14,fore:#696969,back:#FFFFFF

# Asm Editor files
font.monospace.asm=Courier New
style.asm.32=font:Courier New,size:10,fore:#000000,back:#FFFFFF
style.asm.1=font:Courier New,size:10,fore:#616161,back:#FFFFFF
style.asm.2=font:Courier New,size:10,fore:#FF0000,back:#FFFFFF
style.asm.3=font:Courier New,size:10,fore:#7F007F,back:#FFFFFF
style.asm.4=font:Courier New,size:10,fore:#000000,back:#FFFFFF
style.asm.5=font:Courier New,size:10,fore:#000000,back:#FFFFFF
style.asm.6=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF
style.asm.7=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF
style.asm.9=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF
style.asm.10=font:Courier New,size:10,fore:#0000FF,back:#FFFFFF
style.asm.11=font:Courier New,size:10,fore:#007F00,back:#FFFFFF
style.asm.12=font:Courier New,size:10,fore:#7F007F,back:#FFFFFF
style.asm.8=font:Courier New,size:10,fore:#46AA03,back:#FFFFFF

# Editor Text files
font.monospace.txt=Consolas
style.txt.32=font:Verdana,size:10,fore:#000000,back:#FFFFFF
相关推荐
n123523516 小时前
AI IDE+AI 辅助编程,真能让程序员 “告别 996” 吗?
ide·人工智能
蔗理苦18 小时前
2025-09-04 HTML1——环境配置与简介
css·vscode·html
小冷coding20 小时前
随时随地写代码:Jupyter Notebook+cpolar让远程开发像在本地一样流畅
ide·python·jupyter
Adorable老犀牛1 天前
阿里云-基于通义灵码实现高效 AI 编码 | 1 | 在 Visual Studio Code 中安装和使用灵码
vscode·阿里云·云计算
卿·静1 天前
Node.js轻松生成动态二维码
前端·javascript·vscode·node.js·html5
東雪蓮☆1 天前
深入掌握sed:Linux文本处理的流式编辑器利器
linux·运维·编辑器
996终结者1 天前
软件使用教程(四):Jupyter Notebook 终极使用指南
ide·python·jupyter
三坛海会大神5551 天前
sed——Stream Editor流编辑器
linux·运维·编辑器
国服卤蛋儿1 天前
helix编辑器配置键绑定
编辑器·helix
BYSJMG1 天前
计算机大数据毕业设计推荐:基于Spark的新能源汽车保有量可视化分析系统
大数据·分布式·python·spark·django·编辑器·课程设计