Skip to content
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

html.autoClosingTags feature doesn't work in <template> section #900

Closed
3 tasks done
ianwalter opened this issue Sep 10, 2018 · 2 comments
Closed
3 tasks done

html.autoClosingTags feature doesn't work in <template> section #900

ianwalter opened this issue Sep 10, 2018 · 2 comments

Comments

@ianwalter
Copy link

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS High Sierra
  • Vetur version: 0.12.6
  • VS Code version: 1.27.1

Problem

When writing HTML in the <template> section of a Vue SFC, tags are not automatically closed even though html.autoClosingTags is set to true in my settings.json. The feature works correctly when editing HTML files in VS Code so I expected it to work within <template> as well.

Reproducible Case

  1. Set html.autoClosingTags to true (I think it's true by default though).
  2. Create a .vue file.
  3. Add a <template> tag and add a <div> tag within it for example.
@jtsom
Copy link

jtsom commented Jan 22, 2019

Came here to report this same thing, found this, found no replies. Any movement on this issue?

@octref
Copy link
Member

octref commented Mar 14, 2019

Duplicate of #565.

@octref octref closed this as completed Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants