VS Code: Emmet inserts nodes with the className
attribute instead of class
#2238
Unanswered
angry-meow
asked this question in
Q&A
Replies: 1 comment
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