码迷,mamicode.com
首页 > 其他好文 > 详细

Keil 界面配置保存和共享

时间:2015-07-23 15:38:58      阅读:1422      评论:0      收藏:0      [点我收藏+]

标签:

       经过一番分析,功夫不负有心人,找到global.prop这个文件,这个文件是用来保存用户对keil界面和字体等信息的参数,如果想要保存或分享漂亮的设置,直接替换这个文件就可以了

      不说废话直接上图

技术分享
技术分享

技术分享
global副本是备份原来的配置

技术分享

这是我的配置,喜欢可以保存下面代码,替换原来的global(原来的直接用记事本可以打开)!

# properties for all file types
indent.automatic=1
virtual.space=0
view.whitespace=0
view.endofline=0
code.page=0
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=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=1
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=2


# Specification for text selection and caret line
selection.fore=#000000
selection.back=#FF8040
caret.fore=#FF8080
caret.back=#000000

# 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
style.cpp.32=font:Consolas,size:16,fore:#00FF00,back:#000000
style.cpp.4=font:Consolas,size:16,fore:#85DCD3,back:#000000
style.cpp.10=font:Consolas,size:16,fore:#9999FF,back:#000000
style.cpp.1=font:Consolas,size:16,fore:#393939,back:#000000
style.cpp.2=font:Consolas,size:16,fore:#555555,back:#000000
style.cpp.5=font:Consolas,size:16,fore:#0000FF,back:#000000
style.cpp.6=font:Consolas,size:16,fore:#00FF00,back:#000000
style.cpp.11=font:Consolas,size:16,fore:#3CB9C4,back:#000000
style.cpp.9=font:Consolas,size:16,fore:#474747,back:#000000
style.cpp.7=font:Consolas,size:16,fore:#8080FF,back:#000000
style.cpp.34=font:Consolas,size:16,fore:#0000FF,back:#000000
style.cpp.35=font:Consolas,size:16,fore:#505050,back:#000000
style.cpp.16=font:Consolas,size:16,fore:#FF80C0,back:#000000


# 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=Courier New
style.txt.32=font:Verdana,size:10,fore:#FFFFFF,back:#2E3D29 




版权声明:本文为博主原创文章,未经博主允许不得转载。

Keil 界面配置保存和共享

标签:

原文地址:http://blog.csdn.net/sunyiming537/article/details/47021825

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!