Code::Blocks
September 02, 2010, 09:59:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New release 10.05 is ready. Grab it while it's hot!!!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Does anyone want to share their editor colors?  (Read 1194 times)
kartal
Newcomer
*
Posts: 9


« on: June 02, 2009, 07:25:20 pm »

Hi

It looks like CB only comes with default white color environment. I am wondering if anyone would like to share their color settings? It would be nice to be able to have alternatives by default. I probably will end up making mines too(which will be availbale later)

thanks
Logged
rcoll
Almost regular
**
Posts: 141


« Reply #1 on: February 05, 2010, 10:38:16 am »

Attached is a zipped copy of my default.conf file (renamed to colors.conf), and it has about 10 or 12 different color schemes in there.  Some are pretty nice, but some will make your eyes water.

Use "cb_share_config.exe" in your install directory to copy the color schemes into your own default.conf file.  After you load the colors into your default.conf file, find one that you like (more or less) then customize it for your own use.

Note that only the C/C++ syntax colors are included here (no FORTRAN or Java, etc), but it should be pretty simple to extend the colors to other languages.

Ringo
Logged
LordCB
Advanced newcomer
*
Posts: 74


« Reply #2 on: February 06, 2010, 12:40:29 am »

How can I use "cb_share_config.exe" to copy the renamed colors.conf to my default.conf.

What the the steps to do so wtihout loosing my default.conf????
Logged
TerryP
Advanced newcomer
*
Posts: 26


WWW
« Reply #3 on: February 06, 2010, 01:33:43 am »

I generally disable syntax highlighting.
Logged

Just Another Computer Geek
rcoll
Almost regular
**
Posts: 141


« Reply #4 on: February 06, 2010, 05:55:57 am »

How can I use "cb_share_config.exe" to copy the renamed colors.conf to my default.conf.

What the the steps to do so wtihout loosing my default.conf????

The "cb_share_config.exe" program is in your CB program directory. All it does is copy certain config items from one config file to another config file.

First, make a backup copy of your "default.conf" file; for example "copy  default.conf  saved.conf"

Second, download "colors.conf" and put it in a temporary directory.

Third, run the "cb_share_config.exe" program; in the left-pane window select "colors.conf", in the right-pane window select your own "default.conf"

Fourth, in the list of items to copy over, select the "editor colors" (I think it's the 2nd or 3rd item from the top).

Then hit the copy button and exit.  Your "default.conf" now has (in addition to what you already had) the color schemes from colors.conf.

Run CB and select a new color scheme; if for some reason the "default.conf" got messed up, just copy your old one (that you named "saved.conf") back to "default.conf".

Ringo
Logged
rcoll
Almost regular
**
Posts: 141


« Reply #5 on: February 06, 2010, 05:56:43 am »

I generally disable syntax highlighting.

Then I guess you don't have any need for this file.

Ringo
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4691



WWW
« Reply #6 on: February 06, 2010, 08:49:52 am »

I generally disable syntax highlighting.
The information for other users provided in this message is zero. Please don't post such. Thanks.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Denro
Advanced newcomer
*
Posts: 28


Just dont ask me


WWW
« Reply #7 on: February 09, 2010, 04:51:23 am »

this should get integrated to C::B
i was missing this!
i have now done a own layout with black background and white forderground and some additional color chages!
i would like to get a menu point in c::B where i can choose between maybe 16 cool color files Very Happy
actualy i only have changed the color only for c and bat files ... maybe when i have changed all colors i will share with you too Very Happy
but there are so many filetypes and some of them i will never use Sad

also i dont know how to save the color settings
do i have to upload the wole config file or can i also upload parts of it?
if only parts i can maybe share what i did edit until now

maybe c::b it self should get a integrated color importer and exporter for each file type Very Happy
Logged

Max 255; characters remaining: 221
MortenMacFly
Administrator
Lives here!
*****
Posts: 4691



WWW
« Reply #8 on: February 09, 2010, 06:37:26 am »

maybe c::b it self should get a integrated color importer and exporter for each file type Very Happy
You can use / adapt cb_share_config for this purpose.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Denro
Advanced newcomer
*
Posts: 28


Just dont ask me


WWW
« Reply #9 on: February 09, 2010, 04:48:41 pm »

sounds great Smile
how can i change the breakpoint line color?
and if i export and import will the caret/cursor colors also be exported and imported?

i use black background so its nessesary that the caret is white or something light
if i do a syntax highlight seting the caret color is somehow not stored or concted to this settings Sad

can i somehow edit the color config and add the caret color manualy to the syntax color setings?

somehow i face more problems with this colors then i thoght

all colors in the editor should be accesable in the syntax highlighter including the caret and the breakpoint line ... somhow i cant edit the breakpoint in the syntax highlight as also not the caret ... but with a black backgrount this is very essencial

if possible tell me where i must edit what to do it manualy Very Happy
so that caret setings and syntax setings will be imported at once, if it is also possible to change the color of the line numbers and theyr background it would be also good Very Happy
and if i can import export all color settings also the window colors it would be perfect

i would do all in black Very Happy
Logged

Max 255; characters remaining: 221
MortenMacFly
Administrator
Lives here!
*****
Posts: 4691



WWW
« Reply #10 on: February 10, 2010, 06:53:35 am »

You can use / adapt cb_share_config for this purpose.
Did you try that already? It answers most of your questions.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Denro
Advanced newcomer
*
Posts: 28


Just dont ask me


WWW
« Reply #11 on: February 10, 2010, 06:08:16 pm »

so let us try Very Happy

here should be my Black_Extremist syntaxHighlights for C, C++ and Batch files.

i dont know if it is correct or not ( i hope it is)

so additional i have to tell you...
i dont know if the caret colors are also exported, if you dont see the caret you have to manualy change it to a bright color!
also i had a problem in the official build of c:B there is no problem in the official build with this color but if you use a localization file it maybe will not work
i did install german localization/translation file and it did not work ... but without translation no problem Smile

tell me if it works or not and maybe if you like it Very Happy
Logged

Max 255; characters remaining: 221
MortenMacFly
Administrator
Lives here!
*****
Posts: 4691



WWW
« Reply #12 on: February 10, 2010, 06:19:07 pm »

also i had a problem in the official build of c:B there is no problem in the official build with this color but if you use a localization file it maybe will not work
i did install german localization/translation file and it did not work ... but without translation no problem Smile
Did you provider the information I asked for in the other thread to analyse why it fails?
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Denro
Advanced newcomer
*
Posts: 28


Just dont ask me


WWW
« Reply #13 on: February 10, 2010, 11:42:33 pm »

yes i did here http://forums.codeblocks.org/index.php/topic,1022.msg81585.html#msg81585
and here http://forums.codeblocks.org/index.php/topic,1022.msg81586.html#msg81586
is the color file working ? do you like it ? Very Happy
Logged

Max 255; characters remaining: 221
kartal
Newcomer
*
Posts: 9


« Reply #14 on: February 11, 2010, 10:40:28 pm »

rcoll, thanks for preapring this set. This is great stuff.
Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!