Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

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.