Skip to content

Better support for django #43

@sassanh

Description

@sassanh

Thanks for creating this useful extension.

There are some issues using it for django templates, suppose that I'm in the middle of a line containing this:

<div class="{% if some_conditions %}{{ some_class }}else

now I expect pressing <C-X>_ to make it:

<div class="{% if some_conditions %}{{ some_class }}{% else %}

but unfortunately currently it makes it:

{% <div class="{% if some_conditions %}{{ some_class }}else %}

it applies to other similar shortcuts like +, is it possible to fix it?
(this pattern of coding in django templates is pretty common and there are lots of code with this pattern in django admin templates for example)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions