Code::Blocks is mostly used opensource IDE due its great features. Code::Blocks is lightweight and easy to use. Becoming opensource it is also available for Linux and is free to download and use. It is best IDE for beginners, who wants to learn C, C++ and FORTRAN and for creating small projects. However for large projects Code::Blocks may not be good.
Code::Blocks comes with light theme by default and not all users like it. There is no option to change the editor theme is Code::Blocks however we can change it manually. Here is how to install Code::Blocks themes.
Theme download link is given at the end of this post.
Available Code::Blocks Themes
- Son of Obsidian (my favorite)
- Dark gray
- Bright yellow
- Espresso Libre
- Modnokai Coffee
- Modnokai Night Shift
- Modnokai night Shift v2
- Slush and Poppies
- Solarized Dark
- Solarized Light
How to install CodeBlocks theme?
First you need to download the themes, download it from here: Code::Blocks Theme. Then extract it on the desktop. Close the CodeBlocks application before opening CB Share Config. CB Share Config is a tool that installs along with CodeBlocks. It can be found in Program list.
- Exit CodeBlocks if already opened.
- Open CodeBlock Share Config
- Browser Destination Configuration file which is in right side.
- Select default.conf
- Browse Source Configuration file which is in left side.
- Select the downloaded theme.conf
- Tick all the checkbox that appeared in source configuration file, which is in right side. (You can use space to tick)
- Click on Transfer and then Save, and then Close.
- Now open CodeBlocks, goto Settings>>Editor>>Syntax Highlighting and then Color Themes.
Open CB Share Config using:
$ cb_share_config. Then follow the above steps for windows.
default.conf is located at
~/Library/Application Support/codeblocks/default.conf and cb_share_config is under
<strong>Library</strong> folder is by default hidden by the most recent version of Mac OX. You could use
COMMAND+SHIFT+G to navigate to hidden folders.
Watch this video to learn how to install dark themes in CodeBlocks
- If you don’t have
default.conffile inside CodeBlocks directory try creating a project, it will be generated.
- If background of line number did not change go to settings > environment settings > colors. Then edit the following; editor-caret,line number background color, line number foreground number, margin chrome color, margin chrome highlight color.
Also see – How can you Activate Windows 10 for Free
ZippyShare – https://www54.zippyshare.com/v/FZCpqIEx/file.html
Code::Blocks Forum: http://forums.codeblocks.org/
Problem finding default.conf file?
You may want to read FAQ – http://wiki.codeblocks.org/index.php/FAQ-Settings