Earlier in this series:
Color Schemes for Eclipse CDT – Part 1
Color Schemes for Eclipse CDT – Part 2
Color Schemes for Eclipse CDT – Part 3
Color Schemes for Eclipse CDT – Part 1
Color Schemes for Eclipse CDT – Part 2
Color Schemes for Eclipse CDT – Part 3
I’m proud to announce the alpha release of the Eclipse Theme Generator (available here). This site allows you to design a color-scheme in real-time and see how it looks. After you are happy with your theme, you can proceed to export the settings into the appropriate files.
Some things to note:
- This is just an alpha release, seriously, there are many shortcomings and I’m sure a few bugs. If you come across one, please leave a comment here detailing it. If there is a feature you’d like to see, please feel free to comment here. If I get enough of a response, I’ll setup a trac site for the project.
- The preview only shows you about 10 different (the most common in my opinion) settings. There are options to customize many more colors, and changing those settings will encode the appropriate lines in the config. files, but you will not be able to see what they look like until you load it into Eclipse.
- I will eventually add options to change font style (bold, italic, underlining) but as of now there is no support for that and you must go in and manually change the settings afterwards (see colorsets for more information on where in the Eclipse UI you can change certain settings).
- As of now the generator generates files with a lot of debug messages (messages starting with #NOTE or #WARN). This is debugging information and doesn’t necessarily mean there will be a problem with your files once you import them.
- If you somehow wind up with a theme that you don’t like or looks broken, you can always exit eclipse, delete the three files generated and restart eclipse at which point it will revert to the standard styles.
Finally, the default theme is based on Zenburn (as defined here). Eventually, I’d like the generator to allow you to start with any number of predefined themes so you can tweak them as you desire, but that functionality is not built in yet — if its something you’d like to see, please consider adding a comment saying so.
Enjoy.
RSS Feed
Thanks a lot buddy. You made my day! I will check this with other updates on zenburn home page and would let you know if there are any discrepancies. But I must say this is tremendous work. Thanks again.
Finally! I’ve been scouring the interwebs looking for this!
Playing with the generator, I notice that the page loses the changes once the ‘Export Theme’ button is hit. Maybe having the export button open a new tab/window be best so that one can tweet the settings?
Thanks for your hard work!
Hey Luis,
That’s a great idea. Depending on how long the next set of updates take, I’ll either roll that out separately (sooner) or in the next update.
Thanks for the suggestion!
Regards,
Jim
I tried this out with the eclipse JDT and some settings changed and not others. Any chance of making this work with the eclipse JDT?
This is an wonderful utility! Kudos! This project deserves to be given a prominent spot on the CDT and Eclipse Plugins pages. I’m definitely going to be sharing it with all my buddies.
Now, for spreading the color scheme to the rest of my workspace…
Unbelievable. Regards!
How to change background color in:
#if 0
//something disabled
#endif
?
@Kaler : search for “C++/Editor” : Inactive code highlite
Another cool, but large feature, would be to be able to import other editor color schemes such as visual studio or vim and then parse the color info out of those and generate the eclipse settings from it.