Author Topic: Does anyone want to share their editor colors?  (Read 10987 times)

Offline kartal

  • Multiple posting newcomer
  • *
  • Posts: 10
Does anyone want to share their editor colors?
« 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

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: Does anyone want to share their editor colors?
« 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


[attachment deleted by admin]

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Does anyone want to share their editor colors?
« 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????

Offline TerryP

  • Multiple posting newcomer
  • *
  • Posts: 26
    • My journal
Re: Does anyone want to share their editor colors?
« Reply #3 on: February 06, 2010, 01:33:43 am »
I generally disable syntax highlighting.
Just Another Computer Geek

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: Does anyone want to share their editor colors?
« 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

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: Does anyone want to share their editor colors?
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Does anyone want to share their editor colors?
« 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Denro

  • Multiple posting newcomer
  • *
  • Posts: 28
  • Just dont ask me
    • search to find
Re: Does anyone want to share their editor colors?
« 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 :D
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 :D
but there are so many filetypes and some of them i will never use :(

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 :D
Max 255; characters remaining: 221

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Does anyone want to share their editor colors?
« 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 :D
You can use / adapt cb_share_config for this purpose.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Denro

  • Multiple posting newcomer
  • *
  • Posts: 28
  • Just dont ask me
    • search to find
Re: Does anyone want to share their editor colors?
« Reply #9 on: February 09, 2010, 04:48:41 pm »
sounds great :)
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 :(

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 :D
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 :D
and if i can import export all color settings also the window colors it would be perfect

i would do all in black :D
Max 255; characters remaining: 221

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Does anyone want to share their editor colors?
« 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Denro

  • Multiple posting newcomer
  • *
  • Posts: 28
  • Just dont ask me
    • search to find
Re: Does anyone want to share their editor colors?
« Reply #11 on: February 10, 2010, 06:08:16 pm »
so let us try :D

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 :)

tell me if it works or not and maybe if you like it :D

[attachment deleted by admin]
Max 255; characters remaining: 221

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Does anyone want to share their editor colors?
« 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 :)
Did you provider the information I asked for in the other thread to analyse why it fails?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Denro

  • Multiple posting newcomer
  • *
  • Posts: 28
  • Just dont ask me
    • search to find
Max 255; characters remaining: 221

Offline kartal

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Does anyone want to share their editor colors?
« Reply #14 on: February 11, 2010, 10:40:28 pm »
rcoll, thanks for preapring this set. This is great stuff.