pythontemplatesmako

Syntax Highlight for Mako in Eclipse or TextMate?


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.


Solution

  • I just did some googlin'. There is a Mako bundle (among other syntax highlighters listed here).

    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.