621 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

I want to swtich completely over to sublime text, but this thing is drinving me crazy. I’ve searched everywhere and on the sublime forums i see more questions than answers and most answers aren’t even usefull.

So i’m going to try this for the last time over here :)

When working on a php file with html and php combined, and having php inside quotes it gets highlighted as a string, how do i get the php syntax highlighting working inside a string?

1040 posts
  • Has sold $5,000+ on Envato Market
  • Located in United Kingdom
  • Has been a beta tester for an Envato feature
  • Helped several times protecting Envato Market against copyright violations
+5 more
Alexlasek says

I ma not sure if I understood right. Could you provide an example, what you wanna do?

952 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Won a Most Wanted contest
+3 more
aleluja says

something like this?

\\

(this is notepad++ btw)

5479 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

Like this ?

621 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

something like this?

\\

(this is notepad++ btw)

Yes, like that. Between a double quote. I use the monokai colorscheme in ST2 but inside double quotes everything is highlighted as a string, even if you put in php like that. I need proper php highlighting everywhere between the pho begin and end tag ( <?php and ?> )

by
by
by
by
by
by