vscode-twind-intellisense
vscode-twind-intellisense copied to clipboard
Support for plain HTML?
For example to support auto completion within brackets:
<a class="border(2 black opacity-50 dashed)">hey</a
Unsure what you mean:
- auto completion within brackets? – that should already work
- support for plain HTML? – working on that one
I mainly meant 2.
-------- Original Message -------- On Mar. 26, 2021, 1:15 p.m., Sascha Tandel wrote:
Unsure what you mean:
- auto completion within brackets? – that should already work
- support for plain HTML? – working on that one
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
It's on the list.
Note that plain class props / JSX attributes are supported in .tsx and .jsx files, but indeed not in HTML documents.
Related issue: https://github.com/tw-in-js/typescript-plugin/issues/11#issuecomment-803987980
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.
Unsure what you mean:
- auto completion within brackets? – that should already work
- support for plain HTML? – working on that one
Eagerly waiting for plain HTML support...
Hi, is this still being worked on? Is there anything I can do to help?