WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a lot of plugins that color code. But most java developers work with Eclipse and Eclipse has a very specific way of coloring code.

Is there a plugin that colors code exactly the same way Eclipse does?

share|improve this question

closed as off-topic by Tom J Nowell Jul 9 at 15:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

This SO thread is giving some leads. – mike23 Jul 21 '11 at 11:02
I saw this thread before writing my question (I guess I was lazy enough not to include it in the original question) – mist Jul 22 '11 at 11:37
Can I upvote comments as in SO? Doesn't seem so. – mist Jul 22 '11 at 11:37
RE: Comment voting, you just need to gain a little rep before you're able to vote on comments. – Mark Duncan Aug 5 '11 at 18:23
up vote 1 down vote accepted

The majority of the Syntax Highlight plugins work in a way that they create divs,spans with classes styled by css and you can simply overwrite that style with your own css to match the eclipse colors.


turns out someone has done the job for you, take a look at SyntaxHighlighter Evolved which has an eclipse theme.

share|improve this answer
Unfortunately I cannot upvote you - <15 rep :( – mist Jul 22 '11 at 11:34
I need something easy to use, that does not require me to do it by myself - this will not add a lot of value to my posts, so I'm not ready to invest time in it. And I'm lazy :) – mist Jul 22 '11 at 11:36
Its Simple CSS that you can do in 5 minutes one time only. – Bainternet Jul 22 '11 at 12:01
So why hasn't anyone done it yet? – mist Jul 25 '11 at 23:32
Why haven't you done it yet? – Bainternet Jul 26 '11 at 5:04

This looks promising: http://google-code-prettify.googlecode.com/svn/trunk/README.html

They don't have java yet, but plan to. Also their coloring scheme looks close to what I want

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.