- Exit CodeBlocks IDE if it is already opened.
- Open CodeBlock Share Config from the start menu.
- Click on three dots beside the browse Destination Configuration file which is in the right side.
- Select default.conf
- Click on three dots beside the browse Source Configuration file which is in the left side.
- Select the downloaded theme.conf
- Tick all the checkbox that appeared in source configuration file. It contains all the themes.
- Click on Transfer button below the Source Configuration and then click on Save, and then Close.
Your themes is now installed, you can open CodeBlocks and follow the steps to changes the theme:
- Goto Settings.
- Goto Editor.
- Goto Syntax Highlighting
- Choose the Color Themes and click on OK. (Here you can also change the color, font etc. of the editor as well)
- 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 CodeBlocks.app/Contents/MacOS/cb_share_config. The Library folder is by default hidden by the most recent version of Mac OX. You could use COMMAND+SHIFT+G to navigate to hidden folders. If you don’t have default.conf file 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.