Sublime text tab completion after {} in HTML files removes the braces

Martin H 7 years ago 0


In an HTML, HTML5, or Djaneiro HTML (Django) file, if you press tab after {} it removes both braces.


{% endif %}type_anything_here<tab>

will results in:

[cursor here]% endif %

Or simply:


will result in nothing. It just removes the braces.

The first example is the actual situation I am having. In django templates, I find myself often trying to complete a tab trigger after a django template tag, and it doesn't work unless I put a space after the } and before my tab trigger.