A Twig syntax mode for Coda and SubEthaEdit.
Permalink
Failed to load latest commit information.
Contents Add "single string in tags" to html states. Jan 26, 2011
README.markdown Rename Twig.mode to Twig-HTML.mode Jan 26, 2011

README.markdown

Twig (+HTML) syntax mode for Coda and SubEthaEdit

A Twig (+HTML) syntax mode for Coda (and possibly SubEthaEdit) written by bobthecow.

Twig-HTML.mode currently supports:

  • Complete HTML syntax highlighting.
  • All Twig template tags and constructs (through 0.9.10).
  • Blocks and macros in the Code Navigator.
  • Autocomplete for core Twig tags and filters.
  • i18n extension tags and filters (including autocompletion).
  • Symfony2 core Twig tags and filters.

Installation

Drop Twig-HTML.mode into ~Library/Application Support/Coda/Modes. If that folder doesn't exist, create it.

Usage

  1. Install.
  2. Open a file with a .twig extension in Coda or SubEthaEdit.
  3. ?
  4. Profit!