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.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
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.
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.