Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Mariius on June 09, 2012, 01:47:59 pm
-
Google was useless for this question. I can't find normal answer on how to make your code::blocks compiler background darker, for ex: https://sites.google.com/site/svlasovs/home/codeblocks_dark.png. As i understand, there are "theme" codes for this compiler, however, I did not found them. I would be very grateful if you would share some with me :)
Thanks.
-
Hm, are you talking about the editor?
-
Hm, are you talking about the editor?
Yes
-
Swap your lexer_cpp.xml with the attached one.
-
Settings|Editor...|Syntax Highlighting. You will also want to change the caret colour in Margins & Caret.
-
Swap your lexer_cpp.xml with the attached one.
Hmm. I swaped it, and code blocks did not change at all.
-
I assume you removed the .txt file extension before swapping, correct?
-
Yes, I did :)
-
Try: Settings->Editor...->Syntax highlighting Colour theme: "default"; Syntax highlighting for: "C/C++"; "Reset defaults" (button).
-
Swap your lexer_cpp.xml with the attached one.
There must be better dark lexers' available:
(http://i.imgur.com/4MARH.png)
-
There must be better dark lexers' available:
I think everyone's idea of "better" is different. There are more user posted (http://forums.codeblocks.org/index.php/topic,16668.0.html) lexers, if you would like to try them (search the forums; this is just the most recent of many).
Alternatively, if you know exactly what colors you want, each lexer is completely customizable via the syntax highlighting settings.