Aptana smarty support?

2019-04-15 00:06发布

Is there any way to make aptana (2 or 3) support smarty ? Code color, etc.. I read people talking about how they like to have smarty support in Aptana 3 as in Aptana 2, but i don't find it even for Aptana 2! Thank you.

2条回答
放我归山
2楼-- · 2019-04-15 00:30

You can associate .tpl files from within explorer by right clicking a .tpl file and going to properties and “open with” and selecting/browsing to Aptana.

you need to go to “Window” -> “Preferences” -> “General” -> “Content Types” and select “Text” in the right text pane, browse down to “HTML” and click the “Add” button and add “*.tpl” to the extensions list.

查看更多
混吃等死
3楼-- · 2019-04-15 00:34

I just installed smartypdt http://code.google.com/p/smartypdt/ on Aptana 2. Just go to help > install new software then click on "add" and choose the zip file you just downloaded. Uncheck "group items by category" then check the new smarty package that just appeared and keep clicking next . Make sur the .tpl are not associated with other formats.

查看更多
登录 后发表回答