Sublime Forum

Highlight <?php ?> tags?

#1

anyone know of existing plugins or techniques to do this? I know it’s picky, heh, but if there’s one tiny thing i liked about dreamweaver back in the day was that it would highlight opening/closing php tags bold red, so it made it really easy to spot chunks of PHP mixed in HTML. Would be cool to style these in ST too, not just for php but any language with open/close tags

thanks!

0 Likes

#2

You just have to add this to the color scheme.

Select the brackets and hit CTRL+SHIFT+P and take a look at the status bar. You will see the selector.

I just found this documentation, perhaps someone else can post a link to the documentation for the scheme files.

manual.macromates.com/en/language_grammars
manual.macromates.com/en/scope_selectors

0 Likes

#3

ctrl+alt+shift+p

0 Likes