Configure Emmet to expand . to class instead of className in JSX/TSX? #22819
Unanswered
JamieMason
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, thanks again for this wonderful Editor.
Another small question for you, I'm hoping it's possible to change what
.
expands to, specifically when in a JSX or TSX file.Currently it expands to
<div className=""></div>
like so:Screen.Recording.2025-01-08.at.10.31.58.mov
And ideally I'd like it to expand to
<div class=""></div>
or actually better still,<div class={css.|}></div>
, (where|
is the cursor) would be ideal.I don't see anything at https://docs.emmet.io/ so this may not be possible, so no worries if it isn't a thing.
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions