683 posts
  • 4 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
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?

1127 posts
  • United Kingdom
  • Author Level 5
  • Affiliate Level 3
  • Collector Level 1
+5 more
Alexlasek
says

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

954 posts
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
  • Most Wanted Winner
+3 more
aleluja
says

something like this?

\\

(this is notepad++ btw)

5492 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Australia
  • Author Level 3
+5 more
Australia
says

Like this ?

683 posts
  • 4 Years of Membership
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
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