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.

3 comments

Hello odd,

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?

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.

Also I cannot refactor the template. Is

this also not supported at the present time?

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!"

0

Ok, really looking forward to this functionality!

Sorry, not refactor, but reformat. Not present yet?

0

Hello odd,

Sorry, not refactor, but reformat. Not present yet?

Not yet.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.