开发者

still need smarty syntax highlighting in Eclipse PDT

开发者 https://www.devze.com 2022-12-25 20:41 出处:网络
How do I get smarty syntax highlighting in Eclipse PDT? The only project I was able to find is SmartyPDT, but it\'s outdated and isn\'t working with my current Eclipse install (PDT All in one, with E

How do I get smarty syntax highlighting in Eclipse PDT?

The only project I was able to find is SmartyPDT, but it's outdated and isn't working with my current Eclipse install (PDT All in one, with Eclipse 3.5).

EDIT: I recently found this post asking the same question from a long time ago. But the plugin linked in the a开发者_如何学Pythonccepted answer there is out of date now.

EDIT: removed "(no accepted answer)" from title. it was misleading.


I've used both SmartyPDT and SSE*.

SmartyPDT is finicky and it took some time for me to get it working. Unfortunately, after an OS reinstall my custom jars don't work anymore, so I've been using SSE.

It is quite basic but better than nothing.

It is described in English at bar54.

Download it from Google's translated version.

Update:

Example of SSE http://www.freeimagehosting.net/uploads/1c07de77d7.png

*I guess this is what it's called, the page is in Japanese.


About Using Aptana + Eclipse: They removed support for Smarty in Aptana Studio 2 because they were going to "join forces with the eclipse PDT team", but with "unknown schedule as to when or whether smarty support will come to pdt".

Anyways, they also offer to download the "old" Aptana Studio, which works for me like a charm, I wouldn't want to miss smarty support ever again:

https://aptanastudio.tenderapp.com/faqs/installing-aptana-studio/downloading-aptana-studio-151-and-aptana-php

It works in parallel with PDT2, cause for some reason the php support of Aptana is not so good in 1.5.1 - but the smarty support is cheesy :).


what does Aptana use? I think its Smarty enabled..and it integrates with Eclipse PDT and the other choice is Zend Studio which is built on top of Eclipse PDT


Great article about integration Eclipse Helios + PDT + Smarty http://www.ikravets.com/computers-life/programming/2010/09/27/eclipse-helios-pdt-smarty (Use translation to English on this page)


I use SmartyPDT, as suggested in this related question.

Just follow as strictly as possible the installation procedure. Worked for me without too much hassle.

0

精彩评论

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

关注公众号