Monday, November 10, 2008

Code::Blocks Oblivion

Code::Blocks is a cross-platform programming editor/IDE written using wxWidgets. I use it to program in C++ with wxWidgets in Linux and cross-compiling with MinGW to win32.

By default it comes with a white theme, while I prefer darker colors for programming. So I put together a color scheme that suits me better, following the Oblivion Tango color theme available in Gedit by default, with a few changes. Here's what it looks like:



If you want to try it, get the file codeblocks_oblivion.conf and use the command cb_share_config to merge it into your ~/.codeblocks/default.conf .

Labels: , ,

7 Comments:

Anonymous rossen said...

Great, thanks for sharing!

July 10, 2009 4:11 PM  
Anonymous Anonymous said...

Thanks, exactly what I was looking for.
Follow the steps of the GUI tool and the default scheme will be overwritten and thus active once you start CB. No need to mess with the settings. Although maybe it would be nice to change the .conf so that it adds oblivion so a selection is possible. But it's just xml so that should be easy.

September 14, 2009 3:32 AM  
Anonymous Anonymous said...

Actually, you also need to set the caret to a light color afterwards.

September 14, 2009 3:44 AM  
Anonymous Anonymous said...

How can you import this in the Windows CodeBlocks?
I really would like to get the same at the office as I got at home, however athome I code in GEdit ;)

October 13, 2009 12:28 AM  
Blogger LKRaider said...

According to this post:

How do I export CodeBlock themes and layout?

you have to select the "C::B share config" option when installing C::B on Windows.

October 13, 2009 10:35 AM  
Blogger chief said...

Thanks. This is exactly what I am looking for.

December 7, 2009 8:40 AM  
Blogger Ram said...

How do I set the caret color to a lighter color?

January 25, 2010 6:46 AM  

Post a Comment

<< Home