redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
44 stars 15 forks source link

Snippets for sections always add a close section tag #830

Open datho7561 opened 1 year ago

datho7561 commented 1 year ago

If you do completion here:

{#|

{/}

Then complete with the if option, no closing tag will be created (since there is an existing one).

However, if you do:

if|

{/}

and apply the completion, then a closing {/if} will be generated. This is because it's a snippet instead of "real" completion.

It would be nice if we could also avoid adding the closing {/if} when we complete from if.