Hello guys! I have a problem with my PHPStorm. I m going to Tools --> Save as Live Template, but there is no checkbox for Twig and so there is no option for Twig in "Available in... " as at the video. And of course the abbreviation doesn t work on html.twig files. Can you help me with this?
Thank you for the answer Diego! Yes, symfony plugin is enabled and everything from your list is the same except Twig. At the beginning there wasn' t also User checkbox but when i pressed the '+' it was created also this.
Has maybe to do with my PHPStorm version 8 that is for Ubuntu? I have also some others problems with autocompletion for Twig since i m using this IDE some weeks now so i have used in many projects!
7 Comments
I had to take some time off this screencast!
LIVETEMPLATES FTW!!!
Its amazing, just amazing, so freaking amazing.
I have two formhandle showing. I deleted one in settings but its still auto completing. Where is it? Some sort of cache?
Hey Richie,
Hm, it's weird. Have you tried to restart PhpStorm?
Cheers!
Hello guys!
I have a problem with my PHPStorm. I m going to Tools --> Save as Live Template, but there is no checkbox for Twig and so there is no option for Twig in "Available in... " as at the video. And of course the abbreviation doesn t work on html.twig files.
Can you help me with this?
Hey argy_13
Do you have "Symfony" plugin installed and enabled in your PhpStorm project ?
Cheers!
Thank you for the answer Diego! Yes, symfony plugin is enabled and everything from your list is the same except Twig. At the beginning there wasn' t also User checkbox but when i pressed the '+' it was created also this.
Has maybe to do with my PHPStorm version 8 that is for Ubuntu?
I have also some others problems with autocompletion for Twig since i m using this IDE some weeks now so i have used in many projects!
Oh, you are a few major versions behind, I'm currently using "2017.4", consider upgrading, I believe after doing it, it will get fixed by itself
"Houston: no signs of life"
Start the conversation!