Ctrl + click behaviour on smarty tpl path
Hi,
I'm working on a project running with smarty. Tpl files are located in templates/ directory and I call them in my php with $smarty->display('dir/myTpl.tpl'); but I can't find a way to go to the tpl file directly with ctrl + click on it.
I tried adding the templates in PHP include path but it doesn't do the trick.
Any idea?
请先登录再写评论。
Hi there,
Usually such navigation is provided by plugins (e.g. Laravel plugin does it for methods that are used to call Blade view files; Symfony plugin does similar stuff for Symfony/Twig files etc).
For Smarty templates, Smarty plugin does not provide this (it only offers syntax/completion stuff that is inside actual Smarty templates).
Few ideas:
There is a very similar request on our tracker already:
https://youtrack.jetbrains.com/issue/WI-2345
You may notice that it is quite old and somewhat abandoned but we have decided to re-open it after a discussion.