phpstrom 在smarty 中tpl模版注释怎么破?

   {*<div class="col-sm-10">*}

我的smarty,虽然后缀名是tpl。
但是还是html文件,
注释应该是

<!-- 注释 -->

求教肿么改~
阅读 10.3k
1 个回答

设置中搜索 "File Types" 在HTML中加入 tpl后缀 不过应该会提示你 smarty 里面已经包含这个后缀,至于是想按哪种方式编辑 看你自已了.

phpstorm里面有个smarty的配置项,估计 那种是smarty的注释