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

Support for plain HTML? #1

Open
srid opened this issue Mar 26, 2021 · 7 comments
Open

Support for plain HTML? #1

srid opened this issue Mar 26, 2021 · 7 comments

Comments

@srid
Copy link

srid commented Mar 26, 2021

For example to support auto completion within brackets:

 <a class="border(2 black opacity-50 dashed)">hey</a
@sastan
Copy link
Contributor

sastan commented Mar 26, 2021

Unsure what you mean:

  1. auto completion within brackets? – that should already work
  2. support for plain HTML? – working on that one

@srid
Copy link
Author

srid commented Mar 26, 2021 via email

@sastan
Copy link
Contributor

sastan commented Mar 26, 2021

It's on the list.

@danielweck
Copy link
Member

Note that plain class props / JSX attributes are supported in .tsx and .jsx files, but indeed not in HTML documents.
Related issue: tw-in-js/typescript-plugin#11 (comment)

@mtsknn
Copy link

mtsknn commented Jun 10, 2021

Somewhat related (I can open a separate issue if not related enough):

The extension doesn't provide suggestions when using the htm package. E.g.:

const { html } = require('htm/preact')

const Component = () => html`
  <div class="flex" />
`

I tried setting "editor.quickSuggestions": { "strings": true }, but it didn't have any effect.

@vsnthdev
Copy link

Unsure what you mean:

  1. auto completion within brackets? – that should already work
  2. support for plain HTML? – working on that one

Eagerly waiting for plain HTML support...

@stefankyriacou123
Copy link

Hi, is this still being worked on? Is there anything I can do to help?

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

6 participants