views:

711

answers:

3

Hi people.

I'm wondering if is it possible to have autocompletion, autoformatting, and those beautiful things working in Eclipse IDE for Django based templates.

Mainly for these things: {% ... %} {{ ... }}

Thanks in advance

A: 

I really don't know of anything. A priori, it sounds possible that a project might get the {% ... %} working properly, but the {{ ... }} could be quite a stretch. Consider that the django templates don't know anything about code that will be filling them in, so there's no real way to look at headers or a symbol table and guess that when you start typing fo that foobar might be a valid variable name.

David Berger
+2  A: 

I have started creating my own template in Windows > Preferences > Editors > HTML > Templates, for example for the {% code %} and {% endcomment %} tag. Of course, this is not exactly what you want, because it is not dynamically, and that is exactly where it would help most.

daefu
Any thoughts of releaseing that (or building something worth releaseing from it, if you think it's to tiny yet) ?
Rasmus Kaj
+3  A: 

Check this page for Django Eclipse plugin: http://eclipse.kacprzak.org/

Zbigniew
installed this, but it doesn't work. It doesn't show up in poperties and in editors.
DataGreed