A Twig syntax mode for Coda 2
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of bobthecow:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Contents Сompatibility with Coda 2 May 25, 2012
README.markdown Сompatibility with Coda 2 May 25, 2012

README.markdown

Twig (+HTML) syntax mode for Coda 2 (and possibly SubEthaEdit)

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

Twig-HTML.mode currently supports:

  • Partial HTML syntax highlighting (without inline CSS and Javascript).
  • 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 2/Modes. If that folder doesn't exist, create it.

Usage

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