Django tags for templates in Eclipse

前端 未结 5 754
遇见更好的自我
遇见更好的自我 2020-12-30 09:01

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 the

5条回答
  •  生来不讨喜
    2020-12-30 09:37

    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.

提交回复
热议问题