codeblocks主题修改(vim)

codeblocks的配置文件是default.conf,在Windows系统下,该文件在C:\Documents and Settings\Administrator\Application Data\CodeBlocks;在Linux系统下,该文件在~/.codeblocks。该文件夹在codeblocks首次打开后才会生成。

首先关闭codeblocks,找到default.conf并打开,将以下的内容替换成原来<colour_sets></colour_sets>:

		<colour_sets>
			<ACTIVE_COLOUR_SET>
				<str>
					<![CDATA[vim]]>
				</str>
			</ACTIVE_COLOUR_SET>
			<ACTIVE_LANG>
				<str>
					<![CDATA[C/C++]]>
				</str>
			</ACTIVE_LANG>
			<ulipad>
				<NAME>
					<str>
						<![CDATA[ulipad]]>
					</str>
				</NAME>
				<cc>
					<style0>
						<FORE>
							<colour r="141" g="176" b="211" />
						</FORE>
						<BACK>
							<colour r="17" g="36" b="53" />
						</BACK>
						<NAME>
							<str>
								<![CDATA[Default]]>
							</str>
						</NAME>
					</style0>
					<style1>
						<FORE>
							<colour r="141" g="176" b="211" />
						</FORE>
						<BACK>
							<colour r="17" g="36" b="53" />
						</BACK>
						<NAME>
							<str>
								<![CDATA[Default]]>
							</str>
						</NAME>
					</style1>
					<style5>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (normal)]]>
							</str>
						</NAME>
					</style5>
					<style6>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (normal)]]>
							</str>
						</NAME>
					</style6>
					<style7>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (normal)]]>
							</str>
						</NAME>
					</style7>
					<style8>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (normal)]]>
							</str>
						</NAME>
					</style8>
					<style11>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (documentation)]]>
							</str>
						</NAME>
					</style11>
					<style12>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (documentation)]]>
							</str>
						</NAME>
					</style12>
					<style13>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (documentation)]]>
							</str>
						</NAME>
					</style13>
					<style14>
						<FORE>
							<colour r="0" g="207" b="203" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment (documentation)]]>
							</str>
						</NAME>
					</style14>
					<style17>
						<FORE>
							<colour r="111" g="66" b="66" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment keyword (documentation)]]>
							</str>
						</NAME>
					</style17>
					<style18>
						<FORE>
							<colour r="111" g="66" b="66" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment keyword (documentation)]]>
							</str>
						</NAME>
					</style18>
					<style19>
						<FORE>
							<colour r="0" g="0" b="255" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment keyword error (documentation)]]>
							</str>
						</NAME>
					</style19>
					<style20>
						<FORE>
							<colour r="0" g="0" b="255" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Comment keyword error (documentation)]]>
							</str>
						</NAME>
					</style20>
					<style23>
						<FORE>
							<colour r="255" g="255" b="0" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Keyword]]>
							</str>
						</NAME>
					</style23>
					<style25>
						<FORE>
							<colour r="141" g="176" b="211" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[User keyword]]>
							</str>
						</NAME>
					</style25>
					<style29>
						<FORE>
							<colour r="0" g="255" b="128" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[String]]>
							</str>
						</NAME>
					</style29>
					<style30>
						<FORE>
							<colour r="0" g="255" b="128" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[String]]>
							</str>
						</NAME>
					</style30>
					<style35>
						<FORE>
							<colour r="219" g="112" b="219" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[UUID]]>
							</str>
						</NAME>
					</style35>
					<style36>
						<FORE>
							<colour r="128" g="128" b="128" />
						</FORE>
						<NAME>
							<str>
								<![CDATA[Preprocessor]]>
							</str>
						</NAME>
					</style36>
					<style38>
						<FORE>
							<colour r="240" g="128"
  • 13
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 11
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值