Super User is a question and answer site for computer enthusiasts and power users. 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

Formatting seems limited to 'change the color of X' (X being comments, operators, etc).

I'm trying to change the formatting of a line based on what the line contains, in this case, a call to w.d() (My logging subsystem).

Is this possible?

share|improve this question
up vote 0 down vote accepted

Anything is possible in Eclipse because it's an open source platform designed to be extensible. However, you may need to write your own syntax highlighter plugin or use Xtext. See this SO question for more info.

share|improve this answer
It seems to be a real hassle so I'll pass, that said your answer is aboslutely correct, so thank you :D – Stephan Tual Apr 9 '12 at 11:37
@Shamrflow: It is rather involved. I thought maybe there was a plugin out there already that makes custom highlighting easier to set up and came across Eclipse Colorer. If I'm reading the description right, it seems to allow you to create custom rules, such as by feeding it a pair of begin and end patterns. Perhaps you could give it a try. – Lèse majesté Apr 9 '12 at 15:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .