tunggad
tunggad

Reputation: 385

Change color/syntax highlighting for JSF/Facelets EL expressions in Eclipse

I have installed both plugins: WTP and JBoss Tools (3.3) for Eclipse Indigo, but could not found a way to configure special syntax highlighting for EL expression in JSF (.xhmtl Facelets views).

The EL expressions they look like other html-attributes, but I want they have special highlighting (highlighted with other color for all #{...} expressions), so one can easier understand what are being rendered and navigate through the code faster.

Does anyone know, is it possible in Eclipse. I know, that with IntelliJ IDEA one can do it, but in my company I must use Eclipse.

Thank you!

Upvotes: 2

Views: 1391

Answers (1)

Vineet Reynolds
Vineet Reynolds

Reputation: 76719

This is not possible in Eclipse, at least of Eclipse Indigo 3.7 and WTP 3.3. It is also not possible using JBoss Tools yet, presumably because it uses the WTP editors under the hood.

I suppose it would be worth looking at Eclipse bug no. 298884, for there is mention of needing EL syntax coloring of expression tokens within a JSF page. Needless to say, the bug hasn't been fixed yet, and there hasn't been any activity for quite some time.

Upvotes: 4

Related Questions