612 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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?

1007 posts
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 4-5 years
  • United Kingdom
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 10 and 49 users
  • Bought between 1 and 9 items
  • Exclusive Author
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
Alexlasek says

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

939 posts
  • Sold between 1 000 and 5 000 dollars
  • Most Wanted Bounty Winner
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Envato Studio (Microlancer) Beta Tester
  • Serbia
  • Exclusive Author
aleluja says

something like this?

\\

(this is notepad++ btw)

5388 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

Like this ?

612 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 10 000 and 50 000 dollars
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