Hi, does anyone know of a syntax highlight for mako templates for eclipse or for textmate?
I know that there is a .mako syntax highlighter for the default text editor in ubuntu.
Thanks a lot. Claudio.
Hi, does anyone know of a syntax highlight for mako templates for eclipse or for textmate?
I know that there is a .mako syntax highlighter for the default text editor in ubuntu.
Thanks a lot. Claudio.
Claudio,
I don't use mako templates, but a quick google search turned up this article from the mako-discuss google group, which refers to a Colorer library syntax highlighter. This sounds like it might be a decent lead for you.
-matt
What I ended up doing was naming my Mako Templates with .html suffix and thus getting the usual HTML syntax highlighting etc. that I am used to. Alternatively I could have associated .mako suffix with the HTML handler. While this does not address Mako specifically, it was enough for me, since I find most of the template is plain HTML anyway.
I just did some googlin'. There is a Mako bundle.
I installed it under ~/Library/Application Support/TextMate/Bundles/
like so:
cd ~/Library/Application\ Support/TextMate/Bundles/ svn co http://svn.makotemplates.org/contrib/textmate/Mako.tmbundle
In TextMate, I did Bundles | Bundle Editor | Reload Bundles
, and Mako
showed up in the menu.
It adds new HTML language variant: HTML (Mako)
, snippets and stuff like that.
Hope this helps.