VS Code: Emmet inserts nodes with the className
attribute instead of class
#2238
Unanswered
angry-meow
asked this question in
Q&A
Replies: 3 comments
-
Still an issue. Moreover, the problem appears in other editors too. I encounter it in Zed. |
Beta Was this translation helpful? Give feedback.
0 replies
-
use this in {
"emmet.includeLanguages": {
"javascriptreact": "html",
"typescriptreact": "html"
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi community!
If I type
section.my-class
and pressTab
, Emmet in VS Code inserts<section className="my-class"></section>
which is okay for React but kinda incorrect for Solid. The expected result would be<section class="my-class"></section>
.The file has the
*.tsx
extension.How to fix that behavior?
Beta Was this translation helpful? Give feedback.
All reactions