I have just installed Codeblocks in my Windows. When I launch the application the background of the screen where we write the code is white. I would prefer black or any other color. I am not sure whether we can change the color/theme OR add more themes.
First, you need to download some syntax color schemes, so I recommend you to download this file: colour_themes.conf. Then you will have to install it. Follow these steps:
cb_sharing_config.exe (for Windows users, so it's your case). For Linux or Mac users, run the command cb_share_config from the terminal.colour_themes.conf. In the right column, you have to indicate the file default.conf (it will find the path automatically).Transfer to transfer them to the file default.conf. Finally click Save. You probably want to select them all to use them later.Now, the color schemes are installed, so it's time to select a new one:
Settings > Editor and select the tab Syntax highlighting.colour theme; select one.Finally, if you have chosen a darker theme, you might have trouble seeing your text cursor or caret, with its colour being a separate setting:
Settings > Editor and select the tab Margins and caret.Caret section, change the Colour from the default black to a more contrasting colour for your theme, like white or yellow in case of a dark theme.Go to this site https://gist.github.com/yzhong52/6852140faa233408de67.
Download the file as zip, extract and copy out the colour_themes.config file.
Close CodeBlocks.
Open CodeBlocks Share Config on the machine.
Click Source configuration file ... and select the downloaded colour_themes.config file.
Click Destination configuration file ... > Local Disk > Users > Your PC Name > AppData > Roaming > CodeBlocks > Choose default.conf.
Meanwhile set your file explorer to show hidden items so as to show AppData folder.
Mark/check all the boxes showing under the Source configuration file.
Then click Transfer >>.
Click Save.
Open CodeBlock, go to Settings > Editor... > Syntax highlighting.
Select default > click OK.
Now open your code.
You will notice you can't see your cursor, let's fix that.
Settings > Editor... > Margins and caret.
Click Colour, change it to white, click OK.
Enjoy :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With