1. 程式人生 > >CodeBlocks最全官方配色方案

CodeBlocks最全官方配色方案

                     

官方配色

codeblocks是一個功能很強大程式設計軟體,我們在安裝codeblocks後軟體預設的是白底黑字介面,這種介面在長時間寫程式碼時會對眼睛造成很大傷害,增加眼疲勞,因此我們需要一個清晰乾淨明瞭,不刺眼的程式設計介面。下面教我們如何配置一個養眼的程式設計介面。

有幾種經典方案,包括vim, desert, sublime, ulipad, oblivion, darkgray

使用方法

將配色方案的程式碼,儲存為default.conf

在C盤中找到CodeBlocks/default.conf,注意default.conf檔案不再你的安裝資料夾下,而是在系統盤下,以win7系統為例。 C:\Users\yourusername\AppData\Roaming\CodeBlocks

目下下的default.conf

然後用我們從官網上弄來的配色方案替換default.conf

 

注意

   

原來的配色檔案一定要備份好,要不弄崩了,就只能重灌CB了。

開啟CodeBlocks建立新的c/c++檔案就會發現背景變化,同時也可以在編輯環境設定中看到我們配色檔案中的其他配色方案。 如果想要改變其他風格可以在Settings>Editor>Syntax Highlightingcolour theme中選擇你想要的風格,你也可以自定義各種顏色。

這裡寫圖片描述

default.conf

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">    <editor>        <colour_sets>            <ACTIVE_COLOUR_SET>                <str>                    <![CDATA[modnokai night shift v2]]>                </str>            </ACTIVE_COLOUR_SET>            <ACTIVE_LANG>
                <str>                    <![CDATA[C/C++]]>                </str>            </ACTIVE_LANG>            <bright_yellow>                <NAME>                    <str>                        <![CDATA[bright yellow]]>                    </str>                </NAME>                <cc>                    <style0>                        <BACK>                            <colour r="255" g="255" b="208" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style0>                    <style1>                        <BACK>                            <colour r="255" g="255" b="208" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style1>                    <style5>                        <FORE>                            <colour r="158" g="158" b="158" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style5>                    <style6>                        <FORE>                            <colour r="158" g="158" b="158" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style6>                    <style7>                        <FORE>                            <colour r="158" g="158" b="158" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style7>                    <style8>                        <FORE>                            <colour r="158" g="158" b="158" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style8>                    <style9>                        <FORE>                            <colour r="128" g="128" b="128" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment line (normal)]]>                            </str>                        </NAME>                    </style9>                    <style10>                        <FORE>                            <colour r="128" g="128" b="128" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment line (normal)]]>                            </str>                        </NAME>                    </style10>                    <style11>                        <FORE>                            <colour r="128" g="128" b="218" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment (documentation)]]>                            </str>                        </NAME>                    </style11>                    <style12>                        <FORE>                            <colour r="128" g="128" b="218" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment (documentation)]]>                            </str>                        </NAME>                    </style12>                    <style13>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment line (documentation)]]>                            </str>                        </NAME>                    </style13>                    <style14>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment line (documentation)]]>                            </str>                        </NAME>                    </style14>                    <style21>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Keyword]]>                            </str>                        </NAME>                    </style21>                    <style23>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[User keyword]]>                            </str>                        </NAME>                    </style23>                    <style39>                        <BACK>                            <colour r="0" g="255" b="0" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Active line]]>                            </str>                        </NAME>                    </style39>                    <NAME>                        <str>                            <![CDATA[C/C++]]>                        </str>                    </NAME>                    <editor>                        <keywords />                    </editor>                </cc>            </bright_yellow>            <dark_gray>                <NAME>                    <str>                        <![CDATA[dark gray]]>                    </str>                </NAME>                <cc>                    <style0>                        <FORE>                            <colour r="255" g="255" b="255" />                        </FORE>                        <BACK>                            <colour r="42" g="56" b="54" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style0>                    <style1>                        <FORE>                            <colour r="255" g="255" b="255" />                        </FORE>                        <BACK>                            <colour r="42" g="56" b="54" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style1>                    <style13>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment line (documentation)]]>                            </str>                        </NAME>                    </style13>                    <style14>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment line (documentation)]]>                            </str>                        </NAME>                    </style14>                    <style19>                        <FORE>                            <colour r="255" g="142" b="255" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Number]]>                            </str>                        </NAME>                    </style19>                    <style21>                        <FORE>                            <colour r="140" g="196" b="255" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Keyword]]>                            </str>                        </NAME>                    </style21>                    <style23>                        <FORE>                            <colour r="255" g="230" b="80" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[User keyword]]>                            </str>                        </NAME>                    </style23>                    <style27>                        <FORE>                            <colour r="255" g="128" b="0" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[String]]>                            </str>                        </NAME>                    </style27>                    <style28>                        <FORE>                            <colour r="255" g="128" b="0" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[String]]>                            </str>                        </NAME>                    </style28>                    <style34>                        <FORE>                            <colour r="115" g="210" b="22" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Preprocessor]]>                            </str>                        </NAME>                    </style34>                    <style36>                        <FORE>                            <colour r="255" g="0" b="128" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Operator]]>                            </str>                        </NAME>                    </style36>                    <style38>                        <BACK>                            <colour r="128" g="128" b="128" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Selection]]>                            </str>                        </NAME>                    </style38>                    <style39>                        <BACK>                            <colour r="64" g="128" b="128" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Active line]]>                            </str>                        </NAME>                    </style39>                    <NAME>                        <str>                            <![CDATA[C/C++]]>                        </str>                    </NAME>                    <editor>                        <keywords />                    </editor>                </cc>            </dark_gray>            <idel>                <NAME>                    <str>                        <![CDATA[idel]]>                    </str>                </NAME>                <cc>                    <style0>                        <BACK>                            <colour r="245" g="245" b="245" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style0>                    <style1>                        <BACK>                            <colour r="245" g="245" b="245" />                        </BACK>                        <NAME>                            <str>                                <![CDATA[Default]]>                            </str>                        </NAME>                    </style1>                    <style5>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style5>                    <style6>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style6>                    <style7>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style7>                    <style8>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment (normal)]]>                            </str>                        </NAME>                    </style8>                    <style9>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment line (normal)]]>                            </str>                        </NAME>                    </style9>                    <style10>                        <FORE>                            <colour r="135" g="135" b="135" />                        </FORE>                        <NAME>                            <str>                                <![CDATA[Comment line (normal)]]>                            </str>                        </NAME>                    </style10>                    <style11>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment (documentation)]]>                            </str>                        </NAME>                    </style11>                    <style12>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Comment (documentation)]]>                            </str>                        </NAME>                    </style12>                    <style21>                        <FORE>                            <colour r="255" g="128" b="64" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[Keyword]]>                            </str>                        </NAME>                    </style21>                    <style23>                        <FORE>                            <colour r="156" g="37" b="166" />                        </FORE>                        <BOLD bool="0" />                        <NAME>                            <str>                                <![CDATA[User keyword]]>                            </str>                        </NAME>                   

相關推薦

CodeBlocks官方配色方案

                     官方配色codeblocks是一個功能很強大程式設計軟體,我們在安裝codeblocks後軟體預設的是白底黑字介面,這種介面在長時間寫程式碼時會對眼睛造成很大傷害,增加眼疲勞,因此我們需要一個清晰乾淨明瞭,不刺眼的程式設計介面。下面教我們如何配置一個養眼的程式設計介面

ajax跨域,這應該是的解決方案

encode als b- 能夠 utils .html power node.js 重復 前言 從剛接觸前端開發起,跨域這個詞就一直以很高的頻率在身邊重復出現,一直到現在,已經調試過N個跨域相關的問題了,16年時也整理過一篇相關文章,但是感覺還是差了點什麽,於是現在重

官方彙總】全國計算機等級考試考試大綱(2018年版)

【最全官方彙總整理】全國計算機等級考試考試大綱(2018年版),更多計算機等級考試的資料/免費題庫/備考交流,歡迎新增【51CTO等考妹】微訊號dengkaomei,助你通過NCRE! 資料來源:中國教育考試網。   計算機一級考試一級計算機基礎及WPS Office應用考試大綱(2018年版) 點選下載一

官方匯總】全國計算機等級考試考試大綱(2018年版)

offic 數據 sql 計算機組成 java語言 操作系統原理 等級 tro 等級考試 【最全官方匯總整理】全國計算機等級考試考試大綱(2018年版),更多計算機等級考試的資料/免費題庫/備考交流,歡迎添加【51CTO等考妹】微信號dengkaomei,助你通過NCRE!

【前端】ajax跨域,這應該是的解決方案

原文出處: 撒網要見魚    前言 從剛接觸前端開發起,跨域這個詞就一直以很高的頻率在身邊重複出現,一直到現在,已經除錯過N個跨域相關的問題了,16年時也整理過一篇相關文章,但是感覺還是差了點什麼,於是現在重新梳理了一下。 個人見識有限,如有差錯,請多多見諒,歡迎提出i

詳解跨域(的解決方案)

1. 什麼是跨域跨域,是指瀏覽器不能執行其他網站的指令碼。它是由瀏覽器的同源策略造成的,是瀏覽器對JavaScript實施的安全限制。同源策略限制了一下行為:Cookie、LocalStorage 和 IndexDB 無法讀取DOM 和 JS 物件無法獲取Ajax請求傳送不出

的解決方案,安卓手機gps定位慢怎麼辦?輕鬆幾步搞定

近日我在論壇中看到有不少的網友們都在抱怨自己的安卓手機gps定位慢怎麼辦,現在多數gps都是agps,通過移動資料來輔助定位,這個基本是秒定的,很多rom裡面沒整合這個功能,那就要慢得多,換幾個rom試試,反正我用的安卓gps只要開了移動資料基本都是秒定,不開的話,那要幾分鐘才能定位,室外半小時不能定位是不正

從壹開始前後端分離【再會】║的部署方案 & 豐富的錯誤分析

緣起  哈嘍大家好!今天是週一了,這幾天趁著午休的時間又讀了一本書《偷影子的人》,可以看看

NodeJS——大彙總(一)(只需要使用這些東西,就能處理80%以上業務需求,全網node解決方案,吐血整理)

# 一、前言 ## 本文目標 > 本文是博主總結了之前的自己在做的很多個專案的一些知識點,當然我在這裡不會過多的講解業務的流程,而是建立一個小demon,旨在幫助大家去更加高效 更加便捷的生成自己的node後臺介面專案,本文底部提供了一個 藍圖,歡迎大家下載,start,實際上,這樣的一套思路打下來,基本上就

掛載文件系統出現"kernel panic..." 史上解決方案

某個文件 table sha mount nic mic 2.6 完成 又是   問:掛載自己制作的文件系統卡在這裏:    NET: Registered protocol family 1    NET: Registered protocol family 17   

CodeBlocks 配色方案設定

最終效果(官方sublime修改版) 官方配色 codeblocks是一個功能很強大程式設計軟體,我們在安裝codeblocks後軟體預設的是白底黑字介面,這種介面在長時間寫程式碼時會對眼睛造成很大傷害,增加眼疲勞,因此我們需要一個清晰乾淨明瞭,不刺眼的程式設計介面。下面教我們

CodeBlocks 配色方案設置

lock -h 最大 set file height ati 安裝目錄 watermark 最終效果(官方sublime修改版) 官方配色 codeblocks是一個功能很強大編程軟件,我們在安裝codeblocks後軟件默認的

從原始碼角度看Spring生命週期(官方

Spring在beanfactory中給出了spring的生命週期的list列表 一、bean初始化前的處理 Bean factory implementations should support the standard bean lifecycle interfaces as

史上 Zybo-Z7 / Zybo 官方社群學習資料彙總貼(ZYNQ7000入門福音)

官方產品手冊: 1.  Zybo-Z7:www.digilent.com.cn/products/product-zybo-z7-20 (點選右側邊欄“使用者手冊”) 2.  Zybo(經典版):www.digilent.com.cn/products/prod

面的EventBus 3.1的使用教程及官方推薦的結合訂閱者索引processor顯著提升效能和實際專案中的使用注意事項

需求場景 無論是現在的專案還是以前的專案中,都會遇見執行緒之間通訊,元件之間通訊的需求,我們知道這些需求都可以使用EventBus來處理,為了對比體現出EventBus使用的方便簡潔,我們先來回顧下在EventBus出現以前我們是怎麼處理執行緒間通訊和元件間通訊的。 1,執行緒間通訊

!Android 開發狀態列配色詳解

感覺 Android 狀態列一直是一個坑啊!! 並且國內不同 Android 的手機廠商也對狀態列做了不同的適配和修改。在此記錄以下實現不同效果的狀態列的方法 Android 4.4 之前,Andro

這可能是史上 Redis 高可用解決方案總結

一、常見使用方式 Redis 的幾種常見使用方式包括: Redis 單副本; Redis 多副本(主從); Redis Sentinel(哨兵); Redis Cluster; Redis 自研。 二、各種使用方式的優缺點 1、Redis 單副本 Redis

[開源]KT1025A可能是功能面的MP3藍芽音訊數傳晶片BT201模組方案

一、消費類電子產品SOC晶片開發的一些經驗 1、其實在開發軟體這個工作上,一些晶片原廠推出的SDK軟體包是非常值得學習和借鑑的 (1)、因為他們為了方便使用者開發,和閱讀,以及一些驅動的寫法的重複利用,都是做了很多的工作,其中的思維和 方法都是值得借鑑和學習的 (2)、

這可能是的Redis叢集方案介紹了

來源   由於Redis出眾的效能,其在眾多的移動網際網路企業中得到廣泛的應用。Redis在3.0版本前只支援單例項模式,雖然現在的伺服器記憶體可以到100GB、200GB的規模,但是單例項模式限制了Redis沒法滿足業務的需求(例如新浪微博就曾經用Redis儲存了超過

這可能是目前的Redis高可用技術解決方案總結

本文主要針對Redis常見的幾種使用方式及其優缺點展開分析。 一、常見使用方式 Redis的幾種常見使用方式包括: Redis單副本; Redis多副本(主從); Redis Sentinel(哨兵); Redis Cluster;