KEIL5-MDK配色方案

改字体

image.png

image.png

image.png

复制如下代码,替换原有文件内容

global.prop

文件:D:Keil_v5\UV4\global.prop

截图.png

# properties for all file types
indent.automatic=1
virtual.space=0
view.whitespace=0
view.endofline=0
code.page=0
caretline.visible=0
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=0
cc.triggernumchars=3
cc.enter.as.fillup=0# 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=#FFFFFF
selection.back=#FF8000
caret.fore=#00FF00
caret.back=#3E3E3E# 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=Inconsolata
style.cpp.32=font:Inconsolata,size:18,fore:#FFFFFF,back:#2F2F2F
style.cpp.4=font:Inconsolata,size:18,fore:#FF0080,back:#2F2F2F
style.cpp.10=font:Inconsolata,size:18,fore:#FFFFFF,back:#2F2F2F
style.cpp.1=font:Inconsolata,size:18,fore:#00FFFF,back:#2F2F2F
style.cpp.2=font:Inconsolata,size:18,fore:#00FFFF,back:#2F2F2F
style.cpp.5=font:Inconsolata,size:18,fore:#00FF00,back:#2F2F2F,italics
style.cpp.6=font:Inconsolata,size:18,fore:#FF8040,back:#2F2F2F
style.cpp.11=font:Inconsolata,size:18,fore:#FFFFFF,back:#2F2F2F
style.cpp.9=font:Inconsolata,size:18,fore:#FF8080,back:#2F2F2F
style.cpp.7=font:Inconsolata,size:18,fore:#FFFF00,back:#2F2F2F
style.cpp.34=font:Inconsolata,size:18,fore:#500000,back:#20FFFF
style.cpp.35=font:Inconsolata,size:18,fore:#FF0000,back:#FFFFFF
style.cpp.16=font:Inconsolata,size:18,fore:#B00040,back:#FFFFFF
style.cpp.12=font:Inconsolata,size:18,fore:#000000,back:#E0C0E0# Asm Editor files
font.monospace.asm=Courier New
style.asm.32=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.1=font:Courier New,size:10,fore:#808040,back:#2F2F2F
style.asm.2=font:Courier New,size:10,fore:#FF80FF,back:#2F2F2F
style.asm.3=font:Courier New,size:10,fore:#FF8040,back:#2F2F2F
style.asm.4=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.5=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.6=font:Courier New,size:10,fore:#FFFF80,back:#2F2F2F
style.asm.7=font:Courier New,size:10,fore:#FFFF80,back:#2F2F2F
style.asm.9=font:Courier New,size:10,fore:#80FFFF,back:#2F2F2F
style.asm.10=font:Courier New,size:10,fore:#80FFFF,back:#2F2F2F
style.asm.11=font:Courier New,size:10,fore:#007F00,back:#2F2F2F
style.asm.12=font:Courier New,size:10,fore:#FF80FF,back:#2F2F2F
style.asm.8=font:Courier New,size:10,fore:#46AA03,back:#2F2F2F# Editor Text files
font.monospace.txt=Courier New
style.txt.32=font:Verdana,size:10,fore:#FFFFFF,back:#2F2F2F

1.jpg

# properties for all file types
indent.automatic=1
virtual.space=0
view.whitespace=0
view.endofline=0
code.page=0
caretline.visible=0
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=0
cc.triggernumchars=3
cc.enter.as.fillup=0# 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=#FFFFFF
selection.back=#FF8000
caret.fore=#00FF00
caret.back=#3E3E3E# 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=Courier New
font.acpmonofontname.cpp=Courier New
font.acppropfontname.cpp=Courier New
style.cpp.32=font:Courier New,size:16,fore:#F8F8F8,back:#0B161D
style.cpp.4=font:Courier New,size:16,fore:#FF3A83,back:#0B161D
style.cpp.10=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.cpp.1=font:Courier New,size:16,fore:#00FF00,back:#0B161D
style.cpp.2=font:Courier New,size:16,fore:#1E9AE0,back:#0B161D
style.cpp.5=font:Courier New,size:16,fore:#FFAA00,back:#0B161D,bold
style.cpp.6=font:Courier New,size:16,fore:#55E439,back:#0B161D
style.cpp.11=font:Courier New,size:16,fore:#F8F8F8,back:#0B161D
style.cpp.9=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.cpp.7=font:Courier New,size:16,fore:#55E439,back:#0B161D
style.cpp.34=font:Courier New,size:16,fore:#500000,back:#20FFFF
style.cpp.35=font:Courier New,size:16,fore:#FF0000,back:#FFFFFF
style.cpp.16=font:Courier New,size:16,fore:#B00040,back:#FFFFFF
style.cpp.12=font:Courier New,size:16,fore:#000000,back:#E0C0E0
style.cpp.86=font:Courier New,size:16,fore:#696969,back:#FFFFFF# Asm Editor files
font.monospace.asm=Courier New
font.acpmonofontname.asm=Courier New
font.acppropfontname.asm=Courier New
style.asm.32=font:Courier New,size:16,fore:#F8F8F8,back:#0B161D
style.asm.1=font:Courier New,size:16,fore:#1E9AE0,back:#0B161D
style.asm.2=font:Courier New,size:16,fore:#FF3A83,back:#0B161D
style.asm.3=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.asm.4=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.asm.5=font:Courier New,size:16,fore:#F8F8F8,back:#0B161D
style.asm.6=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.asm.7=font:Courier New,size:16,fore:#0000FF,back:#0B161D
style.asm.9=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.asm.10=font:Courier New,size:16,fore:#FFAA00,back:#0B161D
style.asm.11=font:Courier New,size:16,fore:#007F00,back:#0B161D
style.asm.12=font:Courier New,size:16,fore:#55E439,back:#0B161D
style.asm.8=font:Courier New,size:16,fore:#FFAA00,back:#0B161D# Editor Text files
font.monospace.txt=Courier New
style.txt.32=font:Verdana,size:10,fore:#FFFFFF,back:#2F2F2F

截图.png


# properties for all file types
indent.automatic=1
virtual.space=0
view.whitespace=0
view.endofline=0
code.page=936
caretline.visible=0
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=1
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=200# Specification for text selection and caret line
selection.fore=#FFFFFF
selection.back=#FF8000
caret.fore=#00FF00
caret.back=#3E3E3E# Color for vertical edge
edge.colour=#C0DCC0# 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=Courier New
font.acpmonofontname.cpp=Courier New
font.acppropfontname.cpp=Courier New
style.cpp.32=font:Courier New,size:12,fore:#FFFFFF,back:#2F2F2F
style.cpp.4=font:Courier New,size:12,fore:#FF0080,back:#2F2F2F
style.cpp.10=font:Courier New,size:12,fore:#808000,back:#2F2F2F
style.cpp.1=font:Courier New,size:12,fore:#8080FF,back:#2F2F2F
style.cpp.2=font:Courier New,size:12,fore:#FF80FF,back:#2F2F2F
style.cpp.5=font:Courier New,size:12,fore:#14B4FF,back:#2F2F2F,italics
style.cpp.6=font:Courier New,size:12,fore:#80FF80,back:#2F2F2F
style.cpp.11=font:Courier New,size:12,fore:#FFFFFF,back:#2F2F2F
style.cpp.9=font:Courier New,size:12,fore:#FF8080,back:#2F2F2F
style.cpp.7=font:Courier New,size:12,fore:#FF8000,back:#2F2F2F
style.cpp.34=font:Courier New,size:12,fore:#500000,back:#20FFFF
style.cpp.35=font:Courier New,size:12,fore:#FF0000,back:#FFFFFF
style.cpp.16=font:Courier New,size:12,fore:#B00040,back:#FFFFFF
style.cpp.12=font:Courier New,size:12,fore:#000000,back:#E0C0E0
style.cpp.86=font:Courier New,size:12,fore:#696969,back:#FFFFFF# Asm Editor files
font.monospace.asm=Courier New
style.asm.32=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.1=font:Courier New,size:10,fore:#808040,back:#2F2F2F
style.asm.2=font:Courier New,size:10,fore:#FF80FF,back:#2F2F2F
style.asm.3=font:Courier New,size:10,fore:#FF8040,back:#2F2F2F
style.asm.4=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.5=font:Courier New,size:10,fore:#FFFFFF,back:#2F2F2F
style.asm.6=font:Courier New,size:10,fore:#FFFF80,back:#2F2F2F
style.asm.7=font:Courier New,size:10,fore:#FFFF80,back:#2F2F2F
style.asm.9=font:Courier New,size:10,fore:#80FFFF,back:#2F2F2F
style.asm.10=font:Courier New,size:10,fore:#80FFFF,back:#2F2F2F
style.asm.11=font:Courier New,size:10,fore:#007F00,back:#2F2F2F
style.asm.12=font:Courier New,size:10,fore:#FF80FF,back:#2F2F2F
style.asm.8=font:Courier New,size:10,fore:#46AA03,back:#2F2F2F# Editor Text files
font.monospace.txt=Courier New
style.txt.32=font:Verdana,size:10,fore:#FFFFFF,back:#2F2F2F

image.png

# 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=2
line.margin.visible.cpp=0
fold.cpp=0
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=#FFFFFF
selection.back=#3B575A
caret.fore=#FFFFFF
caret.back=#263238# 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=Consolas
font.acpmonofontname.cpp=Consolas
font.acppropfontname.cpp=Consolas
style.cpp.32=font:Consolas,size:10,fore:#FFFFFF,back:#263238
style.cpp.4=font:Consolas,size:10,fore:#F78C6B,back:#263238
style.cpp.10=font:Consolas,size:10,fore:#89FFFF,back:#263238
style.cpp.1=font:Consolas,size:10,fore:#546E76,back:#263238
style.cpp.2=font:Consolas,size:10,fore:#546E76,back:#263238
style.cpp.5=font:Consolas,size:10,fore:#C792EA,back:#263238
style.cpp.6=font:Consolas,size:10,fore:#C3E88D,back:#263238
style.cpp.11=font:Consolas,size:10,fore:#FFFFFF,back:#263238
style.cpp.9=font:Consolas,size:10,fore:#9370DB,back:#263238
style.cpp.7=font:Consolas,size:10,fore:#AAAAAA,back:#263238
style.cpp.34=font:Consolas,size:10,fore:#FFFFFF,back:#20FFFF
style.cpp.35=font:Consolas,size:10,fore:#CCCCCC,back:#263238
style.cpp.16=font:Consolas,size:10,fore:#DDDDDD,back:#263238
style.cpp.12=font:Consolas,size:10,fore:#EEEEEE,back:#E0C0E0
style.cpp.86=font:Consolas,size:10,fore:#FFFF80,back:#263238# Asm Editor files
font.monospace.asm=Consolas
style.asm.32=font:Consolas,size:10,fore:#263238,back:#F07178
style.asm.1=font:Consolas,size:10,fore:#616161,back:#F07178
style.asm.2=font:Consolas,size:10,fore:#FF0000,back:#F07178
style.asm.3=font:Consolas,size:10,fore:#7F007F,back:#F07178
style.asm.4=font:Consolas,size:10,fore:#263238,back:#F07178
style.asm.5=font:Consolas,size:10,fore:#263238,back:#F07178
style.asm.6=font:Consolas,size:10,fore:#C792EA,back:#F07178
style.asm.7=font:Consolas,size:10,fore:#C792EA,back:#F07178
style.asm.9=font:Consolas,size:10,fore:#C792EA,back:#F07178
style.asm.10=font:Consolas,size:10,fore:#C792EA,back:#F07178
style.asm.11=font:Consolas,size:10,fore:#007F00,back:#F07178
style.asm.12=font:Consolas,size:10,fore:#7F007F,back:#F07178
style.asm.8=font:Consolas,size:10,fore:#46AA03,back:#F07178# Editor Text files
font.monospace.txt=Consolas
style.txt.32=font:Verdana,size:10,fore:#263238,back:#FFFFFF

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/2809.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Redis是什么?(详细安装步骤)

一、Redis简介🍉 背景 在Web应用发展的初期,那时关系型数据库受到了较为广泛的关注和应用,原因是因为那时候Web站点基本上访问和并发不高、交互也较少。而在后来,随着访问量的提升,使用关系型数据库的Web站点多多少少…

C/C++编程安全标准GJB-8114解读——声明定义类

软件检测实验室在建立软件测试体系或申请cnas/cma相关资质时,需要依据相关标准,使用有效的方法开展检验检测活动,GJB-8114是一部嵌入式软件安全测试相关的国家标准,本系列文章我们就针对GJB-8114《C/C语言编程安全子集》的具体内容…

论好名字的重要性: Linux内核page到folio的变迁

一、引子 Once upon a time,Netscape的大拿 Phil Karlton曾经说过:“There are only two hard things in Computer Science: cache invalidation and naming things”,成为程序界流传甚广的名言,可见取名是计算机科学中最难的两件…

postman持续集成-Jenkins手动构建

Jenkins启动 在jenkins.war文件所在的目录输入cmd打开终端输入: java -jar jenkins.war启动服务,启动后终端的窗口不要关闭 在浏览器地址栏输入:localhost:8080 准备工作 打开已完成并测试无误的postman项目脚本,再次执行测试 导出测试用例集和测试环境两个文件,注意全部…

基于深度学习的人脸面部表情识别系统【含Python源码+PyqtUI界面+原理详解】

功能演示 摘要:面部表情识别(Facial Expression Recognition)是一种通过技术手段识别人物图像中人脸面部表情的技术。本文详细介绍了其实现的技术原理,同时给出完整的Python实现代码、训练好的深度学习模型,并且通过Py…

线性代数行列式的几何含义

行列式可以看做是一系列列向量的排列,并且每个列向量的分量可以理解为其对应标准正交基下的坐标。 行列式有非常直观的几何意义,例如: 二维行列式按列向量排列依次是 a \mathbf{a} a和 b \mathbf{b} b,可以表示 a \mathbf{a} a和…

《强化学习的数学原理》思维导图,供初学者参考

对应课程: 【强化学习的数学原理】课程:从零开始到透彻理解(完结)_哔哩哔哩_bilibili

华为云专家出品《深入理解边缘计算》电子书上线

华为开发者大会PaaS生态电子书推荐,助你成为了不起的开发者! 什么是边缘计算?边缘计算的应用场景有哪些? 华为云出品《深入理解边缘计算》电子书上线 带你系统理解云、边、端协同的相关原理 了解开源项目的源码分析流程 学成能…

SpringBoot第27讲:SpringBoot集成MySQL - MyBatis 多个数据源

SpringBoot第27讲:SpringBoot集成MySQL - MyBatis 多个数据源 本文是SpringBoot第27讲,在某些场景下,Springboot需要使用多个数据源,以及某些场景会需要多个数据源的动态切换。本文主要介绍上述场景及 SpringBootMyBatis实现多个数…

策略模式(Strategy)

定义 策略是一种行为设计模式,它能让你定义一系列算法,并将每种算法分别放入独立的类中,以使算法的对象能够相互替换。 前言 1. 问题 你打算为游客们创建一款导游程序。该程序的核心功能是提供美观的地图,以帮助用户在任何城市…

前端vue入门(纯代码)19

不管何时何地,永远保持热爱,永远积极向上!!! 【21.Vue中的插槽slot】 问题:插槽(slot)是什么?兄弟们也可以点这里去看这位兄弟的博客,写的比我详细&#xff…

【Flink】Flink 中的时间和窗口之水位线(Watermark)

1. 时间语义 这里先介绍一下什么是时间语义,时间语义在Flink中是一种很重要的概念,下面介绍的水位线就是基于时间语义来讲的。 在Flink中我们提到的时间语义一般指的是事件时间和处理时间: 处理时间(Processing Time),一般指执…