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

autocomplete within brackets

Open heymarkreeves opened this issue 4 years ago • 0 comments

Thanks for providing this package for Sublime Text!

One thing I run into often: I tend to type out my tags starting with the brackets. I don't rely heavily on autocomplete based on keywords. I guess for shorter keywords like for it's not as apparent, but if I start typing:

{% autoes

Autocomplete pops up and gives me the option to complete the tag, which gives me:

{% {% autoescape "type" %}
    
{% endautoescape %}}

Which is a broken tag nested in brackets I started typing.

Is it possible to detect that I've already typed the opening tag brackets and just complete the opening tag so I can continue typing what I want inside it? This consistently trips me up.

Thanks!

heymarkreeves avatar Nov 10 '20 02:11 heymarkreeves