Autocomplete in Smarty templates
Hi, is there any possibility in PhpStorm to have a code autocompleted in Smarty templates?
e.g.: I have PHP project, where autocomplete works fine and in Smarty template (*.tpl) I'd like to write this:
{* @var $variable Some_Class_That_IDE_Knows *}
{$employee->}
Ctrl + [space] and, voila!, all methods from Some_Class_That_IDE_Knows class are suggested! :-)
Am I missing something in settings or writing it badly or it's not possible?
Thank you, Tom
请先登录再写评论。
No, it's not yet supported unfortunately: https://youtrack.jetbrains.com/issue/WI-11879 - feel free to vote/comment for it in order to increase its priority and get notified about updates.