From eee3bc286969d4dcfdba01b58de91b7fc25b4fab Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 27 May 2010 11:09:08 +0200 Subject: [PATCH] [doc] added a paragraph about IDEs support --- doc/02-Twig-for-Template-Designers.markdown | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index f33857d..9277920 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -40,6 +40,21 @@ There are two kinds of delimiters: `{% ... %}` and `{{ ... }}`. The first one is used to execute statements such as for-loops, the latter prints the result of an expression to the template. +IDEs Integration +---------------- + +Modern IDEs support syntax highlighting and auto-completion for a large range +of languages. As Twig syntax is quite similar to Jinja and Django templates, +IDEs that support these two Python templating systems should also support +Twig. + +If you use Textmate, you can use the +[Jinja](http://jinja.pocoo.org/2/documentation/integration) bundle or the +[Django](http://code.djangoproject.com/wiki/TextMate) one. + +If you use Vim, you can use the +[Jinja](http://jinja.pocoo.org/2/documentation/integration) syntax plugin. + Variables --------- -- 1.7.2.5