Syntax Highlighting for Smarty Templates in Dreamweaver CS3
If you’re running Windows Vista, Adobe Dreamweaver CS3 and want syntax highlighting/coloring for Smarty template engines, this will work:
http://smarty.incutio.com/?page=ConfiguringDreamweaver
My own notes:
-In Vista, the folder you want to look for is:
C:\Users\<user>\AppData\Roaming\Adobe\Dreamweaver 9\Configuration\CodeColoring
-The Smarty scheme should come before the scheme segment for HTML. I put it just after the ‘Text’ one.
-This solution is not perfect, the closing braces } often get coloured incorrectly.. Am working on perfecting it, will update when I have a better version.
yes please do update when the closing braces are fixed! somehow it gets interpreted as “HTML tag”, weird…
Comment by pris — 6 November, 2008 @ 7:50 am
You know what, I gave up a long time ago.
The code highlighting in Dreamweaver is crap, I just can’t ever get used to it.
Comment by John — 8 November, 2008 @ 11:52 pm
see also Codelobster – Free IDE with support Smarty
http://www.codelobster.com
Comment by Stas — 13 December, 2008 @ 4:18 pm