Sublime Forum

ExpressionEngine comments inside JS or CSS or PHP blocks

#1

I’ve made some modifications to the most recent and complete ExpressionEngine package, to partially fix shortcomings with properly highlighting comments. Anyone using EE with ST might consider using this fork:

github.com/fcgrx/ExpressionEngi … xt-Bundle2

Remaining problem with the package: EE format comments embedded inside PHP, CSS, and JS blocks are still not recognized as comments. Anyone care to fix this?

Test case: paste the code below into a new ST document, and change the syntax to ExpressionEngine. You should see obvious problems with the colors assigned.

[code]

{!-- THIS IS GREYED OUT --} {!-- .THIS_SHOULD_BE_GREYED_OUT {background:green;} --} <?php> {!-- echo "THIS SHOULD BE GREYED OUT since it's inside an EE comment"; --} ?> [/code]
0 Likes