Open GoogleCodeExporter opened 9 years ago
do you have .tpl files associated with any other editors? I found that syntax
colouring didn't work until I removed the old association I had with the html
editor.
Original comment by r...@cityofcairns.com
on 6 Feb 2008 at 12:45
I figured out that by going under Window->Preferences
Unfold General go -> Content Types
To the right in the tree view, unfold text
goto php content type, smarty should be there so I made sure
I had no other editors using .tpl association and I had it under PHP Content
Type
that I had manually added previously. Removed it, it now works though I found
some
little bugs associated with smarty such as a warning showing in foreach when a
{$variable} is used between double-quotes. or sometimes line being completely
turned
to red in this e.g: Some text I am writing with a {$variable}. Entire line gets
syntax colored in red.
Original comment by Rat...@gmail.com
on 10 Mar 2008 at 6:02
I have installed Zend Studio 7.1.1 and SmartyPDT 0.9.0 and can not remove the
"*.tpl"
association under "General/Content Types/Text/PHP Content", because it's locked.
Somebody knows the trick?
Original comment by p.ulme...@gmail.com
on 15 Jan 2010 at 3:05
I had this issue in the past when installing SmartyPDT originally. The locked
content
types are actually defined in various .jar archives/XML files. The one I
changed to
remove "tpl" from the PHP content type was here (on my system):
C:\Program Files\Zend\Zend Studio -
7.1.0\plugins\org.eclipse.php.core_2.2.0.v20091227-1204\plugin.xml
Obviously your location might be different, so I recommend a "find in files" in
your
search of choice for the string "tpl" within your Zend Studio install
directory.
Original comment by Fen...@gmail.com
on 27 Jan 2010 at 10:05
Original issue reported on code.google.com by
Rat...@gmail.com
on 21 Jan 2008 at 12:01