source insight 字体设置

1. 配置缺省字体。菜单Options->Document Options, 配置Screen Fonts为Arial 10 Bold。点Auto Indent按钮,Auto Indent Type选为Smart,将Indent Open Brace 和 Indent Close Brace复选框去掉,确认。这个时候字体具有了VC里面缺省的System字体的黑体效果。而且这种字体在Source Insight里面最美化,别的字体则比较难看。包括其缺省字体。Arial 10 Bold还能正常支持中文,这也是必须的。

   2.配置关键字颜色。点选菜单Options->Style Properties,设置样式。在Default Text样式,Foreground color选Pick,RGB填为0,0,128。这种藏青色比黑色舒服一点。同样,将Ref to local, Ref to parameter,Ref to member,Standard Object,Standard Property设为128,128,128的灰色。将Null value,Keyword,Ref to Class,Ref to struct,Ref to typedef,string都设为0,0,255。将Ref to macro,Ref to Const,Ref to Enum,Ref to EnumConst设为160,0,160;将Ref to Method, Ref to Method Proto,Ref to Proto,Ref to Func,Standard Function的颜色设为136,0,0的深红色,将Comment设为33,133,33的绿色。

   3.微调颜色。如果看到关键字颜色不符合自己要求,在该关键字上点右键,在弹出菜单上有一个Style Properties,进去后就是对应的条目,可以设置其样式,通常是颜色。

   4.保存。自己满意后,进入Style Properties后点Save 按钮,将其保存起来,甚至可以存到网上,以便下次使用和与朋友共享。

猜你喜欢

转载自blog.csdn.net/xiebingsuccess/article/details/91849286
今日推荐