完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
找到keil路径下的global.prop文件,如找不到global.prop文件,可在colors&Fonts C/C++设置项随便设置一个,prop文件将显示在安装根目录中,用记事本打开,将# C/C++ Editor files下的部分改为如下的设置即可
# C/C++ Editor files template.cpp="#define","#define |";"#if","#if |rnrn#endif";\ "#include","#include ";"Header","// Header:rn// File Name: |rn// Author:rn// Date:rn";\ "continue","continue;";"do","dorn{rnt// TODO: enter the block content hererntrnt|rn} while ();rn";\ "enum","enum |rn{rntrn};rn";"for","for(|;;)rn{rn}";\ "fpointer_type","typedef int (* |F)();rn";"function","void function(|)rn{rnrn}rn";\ "if","if (|)";"ifelse","if (|)rn{rn}rnelsern{rn}";\ "struct","struct | rn{rnrn};rn";"switch","switch (|)rn{rntcase:rnttbreak;rntcase:rnttbreak;rntdefault:rnttbreak;rn}";\ "void","void | ();rn";"while","while (|)rn{rn}";\ font.monospace.cpp=Consolas style.cpp.32=font:Consolas,size:14,fore:#FF972F,back:#152B2B style.cpp.4=font:Consolas,size:14,fore:#007F7F,back:#152B2B style.cpp.10=font:Consolas,size:14,fore:#FF8040,back:#152B2B style.cpp.1=font:Consolas,size:14,fore:#AAFFFF,back:#152B2B style.cpp.2=font:Consolas,size:14,fore:#AAFFFF,back:#152B2B style.cpp.5=font:Consolas,size:14,fore:#BF0000,back:#152B2B,bold,italics style.cpp.6=font:Consolas,size:14,fore:#FF8040,back:#152B2B style.cpp.11=font:Consolas,size:14,fore:#FF8040,back:#152B2B style.cpp.9=font:Consolas,size:14,fore:#FF0000,back:#152B2B style.cpp.7=font:Consolas,size:14,fore:#7F007F,back:#152B2B style.cpp.34=font:Consolas,size:14,fore:#16F348,back:#152B2B style.cpp.35=font:Consolas,size:14,fore:#FF0000,back:#152B2B style.cpp.16=font:Consolas,size:14,fore:#B00040,back:#152B2B style.cpp.12=font:Consolas,size:14,fore:#000000,back:#152B2B |
|
相关推荐
2个回答
|
|
很好,收藏
|
|
|
|
顶,上去,为眼睛
|
|
|
|
只有小组成员才能发言,加入小组>>
3320 浏览 9 评论
2998 浏览 16 评论
3496 浏览 1 评论
9066 浏览 16 评论
4089 浏览 18 评论
1187浏览 3评论
612浏览 2评论
const uint16_t Tab[10]={0}; const uint16_t *p; p = Tab;//报错是怎么回事?
602浏览 2评论
用NUC131单片机UART3作为打印口,但printf没有输出东西是什么原因?
2339浏览 2评论
NUC980DK61YC启动随机性出现Err-DDR是为什么?
1899浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 16:29 , Processed in 1.235480 second(s), Total 81, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号