-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Qute self-closing tags support #596
Comments
That's a good idea, and valid for every tag. |
@FroMage I doubt this would be wanted in the case of control flow statements ( |
Well, those always have bodies. But all the tags that have a |
Indeed, we ned to check if section tags has nested content (for user tag the html file includes {nested-content, we use already this information for completion with user tag) I think it would be nice too to process the remove of When we remove this character, it should generate the end tag section. |
Fixes redhat-developer#596 Signed-off-by: azerr <[email protected]>
Fixes redhat-developer#596 Signed-off-by: azerr <[email protected]>
Fixes redhat-developer#596 Signed-off-by: azerr <[email protected]>
In a Qute template, if you start typing
{#inclu
and select completion, the following is inserted: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
The text was updated successfully, but these errors were encountered: