开源IDE code blocks黑色主题

操作系统:Fedora26   IDE版本: Code Blocks16.01

配置文件路径为:

~/.config/codeblocks

而不像一些教程写的在用户根目录下或者在软件安装目录

 

请将default.conf备份(以便回退)后替换为下列内容

  1 xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2 <CodeBlocksConfig version="1">
  3     <editor>
  4         <colour_sets>
  5             <default />
  6             <ACTIVE_COLOUR_SET>
  7                 <str>
  8                     oblivion]]>
  9                 str>
 10             ACTIVE_COLOUR_SET>
 11             <ACTIVE_LANG>
 12                 <str>
 13                     C/C++]]>
 14                 str>
 15             ACTIVE_LANG>
 16             <oblivion>
 17                 <NAME>
 18                     <str>
 19                         oblivion]]>
 20                     str>
 21                 NAME>
 22                 <cc>
 23                     <style0>
 24                         <FORE>
 25                             <colour r="238" g="238" b="236" />
 26                         FORE>
 27                         <BACK>
 28                             <colour r="46" g="52" b="54" />
 29                         BACK>
 30                         <NAME>
 31                             <str>
 32                                 Default]]>
 33                             str>
 34                         NAME>
 35                     style0>
 36                     <style1>
 37                         <FORE>
 38                             <colour r="136" g="138" b="133" />
 39                         FORE>
 40                         <NAME>
 41                             <str>
 42                                 Comment (normal)]]>
 43                             str>
 44                         NAME>
 45                     style1>
 46                     <style2>
 47                         <FORE>
 48                             <colour r="136" g="138" b="133" />
 49                         FORE>
 50                         <NAME>
 51                             <str>
 52                                 Comment (normal)]]>
 53                             str>
 54                         NAME>
 55                     style2>
 56                     <style3>
 57                         <FORE>
 58                             <colour r="52" g="101" b="164" />
 59                         FORE>
 60                         <BOLD bool="0" />
 61                         <NAME>
 62                             <str>
 63                                 Comment (documentation)]]>
 64                             str>
 65                         NAME>
 66                     style3>
 67                     <style4>
 68                         <FORE>
 69                             <colour r="52" g="101" b="164" />
 70                         FORE>
 71                         <BOLD bool="0" />
 72                         <NAME>
 73                             <str>
 74                                 Comment (documentation)]]>
 75                             str>
 76                         NAME>
 77                     style4>
 78                     <style6>
 79                         <FORE>
 80                             <colour r="164" g="0" b="0" />
 81                         FORE>
 82                         <NAME>
 83                             <str>
 84                                 Comment keyword error (documentation)]]>
 85                             str>
 86                         NAME>
 87                     style6>
 88                     <style7>
 89                         <FORE>
 90                             <colour r="173" g="127" b="168" />
 91                         FORE>
 92                         <BACK>
 93                             <colour r="46" g="52" b="54" />
 94                         BACK>
 95                         <BOLD bool="1" />
 96                         <NAME>
 97                             <str>
 98                                 Number]]>
 99                             str>
100                         NAME>
101                     style7>
102                     <style8>
103                         <FORE>
104                             <colour r="233" g="185" b="110" />
105                         FORE>
106                         <NAME>
107                             <str>
108                                 Keyword]]>
109                             str>
110                         NAME>
111                     style8>
112                     <style9>
113                         <FORE>
114                             <colour r="78" g="154" b="6" />
115                         FORE>
116                         <NAME>
117                             <str>
118                                 User keyword]]>
119                             str>
120                         NAME>
121                     style9>
122                     <style10>
123                         <FORE>
124                             <colour r="185" g="49" b="0" />
125                         FORE>
126                         <BACK>
127                             <colour r="30" g="3" b="0" />
128                         BACK>
129                         <NAME>
130                             <str>
131                                 String]]>
132                             str>
133                         NAME>
134                     style10>
135                     <style11>
136                         <FORE>
137                             <colour r="185" g="49" b="0" />
138                         FORE>
139                         <BACK>
140                             <colour r="30" g="3" b="0" />
141                         BACK>
142                         <NAME>
143                             <str>
144                                 String]]>
145                             str>
146                         NAME>
147                     style11>
148                     <style12>
149                         <FORE>
150                             <colour r="245" g="121" b="0" />
151                         FORE>
152                         <NAME>
153                             <str>
154                                 Character]]>
155                             str>
156                         NAME>
157                     style12>
158                     <style13>
159                         <FORE>
160                             <colour r="211" g="215" b="207" />
161                         FORE>
162                         <NAME>
163                             <str>
164                                 UUID]]>
165                             str>
166                         NAME>
167                     style13>
168                     <style14>
169                         <FORE>
170                             <colour r="78" g="154" b="6" />
171                         FORE>
172                         <NAME>
173                             <str>
174                                 Preprocessor]]>
175                             str>
176                         NAME>
177                     style14>
178                     <style15>
179                         <FORE>
180                             <colour r="233" g="185" b="110" />
181                         FORE>
182                         <NAME>
183                             <str>
184                                 Operator]]>
185                             str>
186                         NAME>
187                     style15>
188                     <style16>
189                         <BACK>
190                             <colour r="23" g="32" b="24" />
191                         BACK>
192                         <NAME>
193                             <str>
194                                 Selection]]>
195                             str>
196                         NAME>
197                     style16>
198                     <style17>
199                         <BACK>
200                             <colour r="24" g="33" b="33" />
201                         BACK>
202                         <NAME>
203                             <str>
204                                 Active line]]>
205                             str>
206                         NAME>
207                     style17>
208                     <style18>
209                         <BACK>
210                             <colour r="114" g="159" b="207" />
211                         BACK>
212                         <NAME>
213                             <str>
214                                 Matching brace highlight]]>
215                             str>
216                         NAME>
217                     style18>
218                     <style19>
219                         <FORE>
220                             <colour r="238" g="238" b="236" />
221                         FORE>
222                         <BACK>
223                             <colour r="164" g="0" b="0" />
224                         BACK>
225                         <NAME>
226                             <str>
227                                 No matching brace highlight]]>
228                             str>
229                         NAME>
230                     style19>
231                     <NAME>
232                         <str>
233                             C/C++]]>
234                         str>
235                     NAME>
236                     <editor>
237                         <keywords />
238                     editor>
239                 cc>
240             oblivion>
241         colour_sets>
242     editor>
243 CodeBlocksConfig>

 

过程在关闭codeblocks,如完成后打开未变色请在setting中调整,并调整光标颜色!

注意备份 配置文件!

你可能感兴趣的:(开源IDE code blocks黑色主题)