Syntax highlighting custom colour themes: Difference between revisions

From Code::Blocks
Georger (talk | contribs)
No edit summary
Georger (talk | contribs)
No edit summary
Line 6: Line 6:
Modnokai is a modified version of the [http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ Monokai theme for Textmate].
Modnokai is a modified version of the [http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ Monokai theme for Textmate].


Make sure Code::Blocks is '''NOT''' running. Import the colour set [[File:modnokai.conf]] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:
Make sure Code::Blocks is '''NOT''' running. Import the colour set [/index.php/topic,18094.msg123762.html#msg123762 file] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:


* General Settings/Editor settings/Font: change to the monospaced font of your choice ('''Consolas 12''' works well on Windows);
* General Settings/Editor settings/Font: change to the monospaced font of your choice ('''Consolas 12''' works well on Windows);

Revision as of 03:11, 29 June 2013

This page lists syntax highlighting custom color themes contributed by Code::Blocks users.

Modnokai

Modnokai is a modified version of the Monokai theme for Textmate.

Make sure Code::Blocks is NOT running. Import the colour set [/index.php/topic,18094.msg123762.html#msg123762 file] into your configuration with CB Share Config. Run Code::Blocks, go to Settings, Editor..., Syntax highlighting, and pick Colour theme 'modnokai'. For best results, change the following settings as well:

  • General Settings/Editor settings/Font: change to the monospaced font of your choice (Consolas 12 works well on Windows);
  • General Settings/Editor settings/Other options/Highlight line under caret is enabled;
  • Margins and caret/Caret/Style is Line, Width is 3, and Colour is red (R: 255, G: 0, B: 0).

Below is a screenshot of Code::Blocks 12.11 with Modnokai running on Windows XP.

Note: Always back up your current configuration file before importing a custom configuration file.