How do I use Zen HTML Live Templates in PHP files in PhpStorm 8 without having to edit every live 'Zen HTML' Template individually to be applicable in HTML and in PHP. As it stands they only work in HTML files.
Asked
Active
Viewed 190 times
-4
-
Heh? Care to explain what you mean by "having to edit every entry manually"? – LazyOne Sep 16 '14 at 14:23
-
I improved the question. Do you know what I mean? – thiagodebastos Sep 16 '14 at 14:39
-
1Better .. but not yet. Please show a screenshot with the place where you having problems with such live template. It works fine for me in `.php` files -- not inside `` tags .. but where HTML context is applicable, of course. – LazyOne Sep 16 '14 at 14:47
-
You are right, I realised that it was because I was using a new `.php` file and PhpStorm creates each `.php` file with opening ` – thiagodebastos Sep 16 '14 at 20:51
1 Answers
0
"It works fine for me in .php
files -- not inside <?php ?>
tags"
As it turns out, I was trying this within <?php ?>
!

thiagodebastos
- 126
- 9