Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jinja2 template support in Eclipse

Using the Eclipse keybinding Shift-Ctrl+F (Format) in Python (with help from PyDev), Javascript or plain HTML files works as expected. Jinja2 templates however, become a mess. Is there a solution to solve or easily work around this?

like image 884
kvdb Avatar asked Apr 10 '12 09:04

kvdb


1 Answers

As Jinja2 seems very close to Django templates, it may be worth using the Django templates editor (it's distributed along with Aptana Studio 3 -- you just have to change the file association to open html files with that editor in the file association).

like image 145
Fabio Zadrozny Avatar answered Sep 27 '22 02:09

Fabio Zadrozny