Eclipse seems to be completely oblivious of EL expressions inside CSS. When I format my stylesheets, this happens:
.tooltip:hover span.info {
...
border-color: #{theme.get('borderTooltip')};
border-style: solid;
...
}
turns into
.tooltip:hover span.info {
...
border-color: #{theme.get('borderTooltip' )
}
;
border-style
:
solid
;
...
}
Is there anything I can do to prevent this and still use the formatter?
/* @formatter:off */
and/* @formatter:on */
comments around sections of code that the formatter messes up. However, that doesn't seem to work with the CSS formatter for me. – Taveras@keyframes
notation per this bug: bugs.eclipse.org/bugs/show_bug.cgi?id=442852 – Taveras