Django templates feature question
Hi.
When in a template, I type {% I automatically get a %}. This is great, but if I type {% if x%} I would expect and {% endif %} to appear. Is this feature not present yet? Also I cannot refactor the template. Is this also not supported at the present time?
Thanks.
Odd-R.
Please sign in to leave a comment.
Hello odd,
Indeed, this feature is not present yet, but I'm not sure it will be implemented
in this form. Most likely we will provide live templates, so that you will
be able to type if and get a complete {% if %} / {% endif %} block.
What kind of refactorings would you like to be able to perform?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Ok, really looking forward to this functionality!
Sorry, not refactor, but reformat. Not present yet?
Hello odd,
Not yet.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"