redhat-developer / redhat-developer/vscode-quarkus
Improve Qute self-closing tags support
Open
@angelozerr is already working on this.
Since Mar 21, 2023.
enhancement
qute
- Dominant language
- TypeScript
- Stars
- 79
- Forks
- 31
- Avg merge
- 12h 51m
- Merged PRs (30d)
- 6
Description
In a Qute template, if you start typing {#inclu and select completion, the following is inserted:
{#include template}
{/include}
It'd be nice to remove the closing tag if the user adds the self-closing slash after the template name ({#include template /}), while the tag content is empty, akin to self-closing tag behavior in vscode-xml.
There might be other specific tags where auto-close might be relevant (#insert? #fragment? ...), @mkouba or @FroMage may have some ideas
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.