• codeblocks colour theme


    1
    c盘搜索 “codeblocks"  找到 default.conf ,
    用编辑器打开,
    搜索"colour_sets",
     替换 <colour_sets> 与</colour_sets>之间全部内容,
    注意以上过程需确保code blocks(CBC)处于关闭状态,要不然配置文件会自动恢复。


    2.
    打开CBC需要更改光标颜色(不然会看不见光标),过程:
    setting -> editor -> Margins and caret -> Caret -> colour,选择喜欢的颜色,完成,仿vim中的desert颜色主题切换成功。
    截图如下:





    替换文本的内容:

    <colour_sets>
                <default />
                <ACTIVE_COLOUR_SET>
                    <str>
                        <![CDATA[Desert]]>
                    </str>
                </ACTIVE_COLOUR_SET>
                <ACTIVE_LANG>
                    <str>
                        <![CDATA[C/C++]]>
                    </str>
                </ACTIVE_LANG>
             
        <Desert>
                    <NAME>
                        <str>
                            <![CDATA[Desert]]>
                        </str>
                    </NAME>
                    <cc>
                        <style0>
                            <FORE>
                                <colour r="255" g="255" b="255" />
                            </FORE>
                            <BACK>
                                <colour r="43" g="43" b="43" />
                            </BACK>
                            <NAME>
                                <str>
                                    <![CDATA[Default]]>
                                </str>
                            </NAME>
                        </style0>
                        <style1>
                            <FORE>
                                <colour r="135" g="206" b="235" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Comment (normal)]]>
                                </str>
                            </NAME>
                        </style1>
                        <style2>
                            <FORE>
                                <colour r="135" g="206" b="235" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Comment (normal)]]>
                                </str>
                            </NAME>
                        </style2>
                        <style3>
                            <FORE>
                                <colour r="105" g="105" b="105" />
                            </FORE>
                            <BOLD bool="0" />
                            <NAME>
                                <str>
                                    <![CDATA[Comment (documentation)]]>
                                </str>
                            </NAME>
                        </style3>
                        <style4>
                            <FORE>
                                <colour r="105" g="105" b="105" />
                            </FORE>
                            <BOLD bool="0" />
                            <NAME>
                                <str>
                                    <![CDATA[Comment (documentation)]]>
                                </str>
                            </NAME>
                        </style4>
                        <style7>
                            <FORE>
                                <colour r="255" g="160" b="160" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Number]]>
                                </str>
                            </NAME>
                        </style7>
                        <style8>
                            <FORE>
                                <colour r="189" g="183" b="107" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Keyword]]>
                                </str>
                            </NAME>
                        </style8>
                        <style9>
                            <FORE>
                                <colour r="255" g="128" b="64" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[User keyword]]>
                                </str>
                            </NAME>
                        </style9>
                        <style10>
                            <FORE>
                                <colour r="255" g="160" b="160" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[String]]>
                                </str>
                            </NAME>
                        </style10>
                        <style11>
                            <FORE>
                                <colour r="255" g="160" b="160" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[String]]>
                                </str>
                            </NAME>
                        </style11>
                        <style12>
                            <FORE>
                                <colour r="255" g="255" b="255" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Character]]>
                                </str>
                            </NAME>
                        </style12>
                        <style13>
                            <FORE>
                                <colour r="255" g="255" b="255" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[UUID]]>
                                </str>
                            </NAME>
                        </style13>
                        <style14>
                            <FORE>
                                <colour r="205" g="92" b="92" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Preprocessor]]>
                                </str>
                            </NAME>
                        </style14>
                        <style15>
                            <FORE>
                                <colour r="255" g="255" b="255" />
                            </FORE>
                            <NAME>
                                <str>
                                    <![CDATA[Operator]]>
                                </str>
                            </NAME>
                        </style15>
                        <style17>
                            <FORE>
                                <colour r="192" g="192" b="192" />
                            </FORE>
                            <BACK>
                                <colour r="255" g="0" b="0" />
                            </BACK>
                            <NAME>
                                <str>
                                    <![CDATA[Active line]]>
                                </str>
                            </NAME>
                        </style17>
                        <style18>
                            <BACK>
                                <colour r="128" g="128" b="192" />
                            </BACK>
                            <NAME>
                                <str>
                                    <![CDATA[Matching brace highlight]]>
                                </str>
                            </NAME>
                        </style18>
                        <NAME>
                            <str>
                                <![CDATA[C/C++]]>
                            </str>
                        </NAME>
                        <editor>
                            <keywords />
                        </editor>
                    </cc>
                </Desert>
    </colour_sets>
    
  • 相关阅读:
    Java并发编程(六)——Callable接口
    java基础——反射
    java基础——序列化
    java基础——IO
    java基础——File类
    操作nginx时遇到的各种问题
    linux安装nginx 简单版
    linux 重命名文件和文件夹
    Linux 程序安装目录 /opt 目录和 /usr/local 目录
    Linux 各种安装包
  • 原文地址:https://www.cnblogs.com/invisible/p/2011230.html
Copyright © 2020-2023  润新知