Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
    
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
add comment

2 Answers 2

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.

Update

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
1  
Why haven't you done it yet? –  Bainternet Jul 26 '11 at 5:04
show 3 more comments

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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