-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Emmet: Support for CSS modules in jsx/tsx (bump @emmetio/abbreviations to >2.4.0) #180689
Comments
We are on Emmet 2.4.x now. |
How do you configure this? |
We can test the new default behaviour for now.
|
I would appreciate help on how to change When I write ..test it gives
|
Hi @danmiles, thanks for asking! |
Moving this issue to the next month. There seems to be an issue with the way emmet merges some configs that I'll either have to work around or fix upstream. |
The fix has not been released yet. It should be available on Insiders starting on Monday.
"emmet.syntaxProfiles": {
"jsx": {
"markup.attributes": {
"class*": "className",
},
"markup.valuePrefix": {
"class*": "styles"
}
}
}
CC @danmiles |
A new emmet release supports abbreviations, such that
dev.foo
resolves to<div className={styles.foo}
instead of<div className="foo">
.The change was released with Emmet v2.4.0 — See also: emmetio/emmet#589
It would be great if vscode could support this new feature as well.
The text was updated successfully, but these errors were encountered: