PHP-Twig.tmbundle icon indicating copy to clipboard operation
PHP-Twig.tmbundle copied to clipboard

Autocomplete of keywords breaks the code

Open svivian opened this issue 7 years ago • 0 comments

Type {% b and a dropdown to autocomplete 'block' will show up. But when I press tab, instead of autocompleting it inserts the entire block inside what I already typed, so I end up with

{% {% block name %}{% endblock %}}

In other words, it only replaced the b and not the existing parts of the tag.

Doesn't happen with HTML auto complete - when you type <div then tab, it completes the div tag and doesn't add extra <

Using Sublime Text 3 build 3126 (latest stable version).

svivian avatar Jul 25 '17 15:07 svivian