phtml files

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

phtml files

Postby RickDoll » October 4th, 2016, 1:55 pm

Am I missing a setting or just not thinking of something to have php tools in visual studio treat the php within a phtml file the same way as it would a file with php extension?

None of the code help works within a phtml file for me but I create a php file and paste the exact same code in I get all the code help.

Is there something I am missing?

Thanks.
RickDoll
 
Posts: 2
Joined: October 4th, 2016, 1:50 pm

Re: phtml files

Postby Miloslav Beno » October 4th, 2016, 2:51 pm

Hello Rick,

Thanks for the question. You just need to setup *.phtml file extension to be handled by PHP editor. Please check this guide https://docs.devsense.com/#file-extension-being-opened-by-php-editor

Hope it helps.

Cheers,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: phtml files

Postby RickDoll » October 4th, 2016, 3:08 pm

Worked like a charm, thanks!
RickDoll
 
Posts: 2
Joined: October 4th, 2016, 1:50 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 47 guests

cron

User Control Panel

Login

Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 guests (based on users active over the past 5 minutes)
Most users ever online was 399 on April 19th, 2024, 11:49 pm

Users browsing this forum: No registered users and 47 guests