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

not working autocomplete and formatting with closing '<//>' #361

Open
ivanjeremic opened this issue Jun 27, 2024 · 0 comments
Open

not working autocomplete and formatting with closing '<//>' #361

ivanjeremic opened this issue Jun 27, 2024 · 0 comments

Comments

@ivanjeremic
Copy link

ivanjeremic commented Jun 27, 2024

There are libraries that use components in this way

html`
<div>
  <${Component}>
    component body
  <//>
</div>
`

However this results in the wrong autocomplete and inserts some weird low dashes and numbers as you can see here in the example image.

wrong

this is for some reason the generated autocomplete closing tag.

There are also formatting issues

<${List}
  ><div>a</div>
  <div>a</div>
  <div>a</div>
  <div>a</div><//
>

instead of

<${List}>
  <div>a</div>
  <div>a</div>
  <div>a</div>
  <div>a</div>
<//>
@ivanjeremic ivanjeremic changed the title not working with cloing '<//>' not working autocomplete and formatting with closing '<//>' Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant