Home Download Buy Blog Forum Support

Help : HTML5 is haunting after PHP comments

Help : HTML5 is haunting after PHP comments

Postby tbogard on Wed Dec 12, 2012 2:24 pm

Hello guys.

I have done everything I could to switch the language from text to PHP. Good thing is ST2 recognizes PHP lines, bad thing, is no matter how many times you do, when you change the syntax of your script to PHP it will always says HTML5 in the doc syntax, so if I need to document my script with CTRL+SHIFT+/ instead using the bulk comment /**/ it uses <!-- --> and it keep forever.... Reinstalling did not solve the problem, removing or disabling all the modules I use from the package control did not make also the trick... some help will be appreciated.

I'm using a licenced ST2 2.0.1, build 2217 in a Windows 8 64 bit edition.

Thank you
Posts: 1
Joined: Wed Dec 12, 2012 7:00 am

Re: Help : HTML5 is haunting after PHP comments

Postby godbout on Mon Dec 17, 2012 9:26 am

Same here. Latest build on OS X 18.0.2.
I've removed like 15 packages, restarted, everything, still the same. I can't get the PHP comments right.
Posts: 12
Joined: Fri Sep 09, 2011 9:18 am

Re: Help : HTML5 is haunting after PHP comments

Postby Minnow990 on Tue Jan 15, 2013 3:43 am

Also having a similar problem. ST2 ver 2.0.1 Build 2217 on Windows 7 64-bit also does not recognize my syntax change to PHP. Instead, says HTML. PHP lines are recognized and highlighted, comments are fine for me (Ctrl+/) and it knows to comment as HTML when cursor is in HTML markup, and also uses PHP comments in the PHP markup.

Syntax Highlighting is a bit different though, and I can't access PHP snippets when the syntax is not PHP.
Posts: 1
Joined: Tue Jan 15, 2013 3:39 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests