开发者

Free or cheap IDE with syntax support for Smarty or similar template system [closed]

开发者 https://www.devze.com 2023-02-28 03:18 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly 开发者_如何学Pythonreopened, visit the help center for guidance. Closed 10 years ago.

I'm starting to build a website where I want to use Smarty or a similar templating system to separate PHP logic and HTML structure. Smarty's caching support doesn't hurt either.

(Don't tell me that PHP is a templating language already -- I know it can easily be used like that, but I like the conceptual separation).

At the same time I want to move up from Dreamweaver as an IDE. I was happy when I saw that NetBeans has a Smarty plugin, but now that I've tried using it for a while, the support seems to be nothing more than keyword highlighting -- it doesn't match {if} with {/if} or check Smarty syntax, and on the other hand it seems to turn of some of the HTML autocompletions.

Is there anything out there with more complete coverage?


I use PhpStorm by jetbrains. Try it out.


If you use Twig (which I like better than Smarty - although i still prefer self-restraint+plain php) most IDE's that support Django templating should work with it since the syntax is nearly the same.


I use smarty-mode for emacs, wich provides syntax highlighting for smarty templates.

0

精彩评论

暂无评论...
验证码 换一张
取 消