win8下更改codeblocks颜色

因为白色太刺眼!所以可以改成一下风格!

首先找到 C:\Users\xdq\AppData\Roaming\codeblocks

的default.conf 把其中的 <color sets>到 </color sets>  一段

替换为下面的就行了! (注;最后备份源文件!)

        <colour_sets>
            <default />
            <ACTIVE_COLOUR_SET>
                <str>
                    <![CDATA[oblivion]]>
                </str>
            </ACTIVE_COLOUR_SET>
            <ACTIVE_LANG>
                <str>
                    <![CDATA[C/C++]]>
                </str>
            </ACTIVE_LANG>
            <oblivion>
                <NAME>
                    <str>
                        <![CDATA[oblivion]]>
                    </str>
                </NAME>
                <cc>
                    <style0>
                        <FORE>
                            <colour r="238" g="238" b="236" />
                        </FORE>
                        <BACK>
                            <colour r="46" g="52" b="54" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[Default]]>
                            </str>
                        </NAME>
                    </style0>
                    <style1>
                        <FORE>
                            <colour r="136" g="138" b="133" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Comment (normal)]]>
                            </str>
                        </NAME>
                    </style1>
                    <style2>
                        <FORE>
                            <colour r="136" g="138" b="133" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Comment (normal)]]>
                            </str>
                        </NAME>
                    </style2>
                    <style3>
                        <FORE>
                            <colour r="52" g="101" b="164" />
                        </FORE>
                        <BOLD bool="0" />
                        <NAME>
                            <str>
                                <![CDATA[Comment (documentation)]]>
                            </str>
                        </NAME>
                    </style3>
                    <style4>
                        <FORE>
                            <colour r="52" g="101" b="164" />
                        </FORE>
                        <BOLD bool="0" />
                        <NAME>
                            <str>
                                <![CDATA[Comment (documentation)]]>
                            </str>
                        </NAME>
                    </style4>
                    <style6>
                        <FORE>
                            <colour r="164" g="0" b="0" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Comment keyword error (documentation)]]>
                            </str>
                        </NAME>
                    </style6>
                    <style7>
                        <FORE>
                            <colour r="173" g="127" b="168" />
                        </FORE>
                        <BACK>
                            <colour r="46" g="52" b="54" />
                        </BACK>
                        <BOLD bool="1" />
                        <NAME>
                            <str>
                                <![CDATA[Number]]>
                            </str>
                        </NAME>
                    </style7>
                    <style8>
                        <FORE>
                            <colour r="233" g="185" b="110" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Keyword]]>
                            </str>
                        </NAME>
                    </style8>
                    <style9>
                        <FORE>
                            <colour r="78" g="154" b="6" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[User keyword]]>
                            </str>
                        </NAME>
                    </style9>
                    <style10>
                        <FORE>
                            <colour r="185" g="49" b="0" />
                        </FORE>
                        <BACK>
                            <colour r="30" g="3" b="0" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[String]]>
                            </str>
                        </NAME>
                    </style10>
                    <style11>
                        <FORE>
                            <colour r="185" g="49" b="0" />
                        </FORE>
                        <BACK>
                            <colour r="30" g="3" b="0" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[String]]>
                            </str>
                        </NAME>
                    </style11>
                    <style12>
                        <FORE>
                            <colour r="245" g="121" b="0" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Character]]>
                            </str>
                        </NAME>
                    </style12>
                    <style13>
                        <FORE>
                            <colour r="211" g="215" b="207" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[UUID]]>
                            </str>
                        </NAME>
                    </style13>
                    <style14>
                        <FORE>
                            <colour r="78" g="154" b="6" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Preprocessor]]>
                            </str>
                        </NAME>
                    </style14>
                    <style15>
                        <FORE>
                            <colour r="233" g="185" b="110" />
                        </FORE>
                        <NAME>
                            <str>
                                <![CDATA[Operator]]>
                            </str>
                        </NAME>
                    </style15>
                    <style16>
                        <BACK>
                            <colour r="23" g="32" b="24" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[Selection]]>
                            </str>
                        </NAME>
                    </style16>
                    <style17>
                        <BACK>
                            <colour r="24" g="33" b="33" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[Active line]]>
                            </str>
                        </NAME>
                    </style17>
                    <style18>
                        <BACK>
                            <colour r="114" g="159" b="207" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[Matching brace highlight]]>
                            </str>
                        </NAME>
                    </style18>
                    <style19>
                        <FORE>
                            <colour r="238" g="238" b="236" />
                        </FORE>
                        <BACK>
                            <colour r="164" g="0" b="0" />
                        </BACK>
                        <NAME>
                            <str>
                                <![CDATA[No matching brace highlight]]>
                            </str>
                        </NAME>
                    </style19>
                    <NAME>
                        <str>
                            <![CDATA[C/C++]]>
                        </str>
                    </NAME>
                    <editor>
                        <keywords />
                    </editor>
                </cc>
            </oblivion>
        </colour_sets>



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值