Skip to content
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

Enable Emmet abbreviations in .js files for CSS-in-JS (object syntax) #120521

Open
zremboldt opened this issue Apr 5, 2021 · 1 comment
Open
Assignees
Labels
emmet Emmet related issues feature-request Request for new features or functionality
Milestone

Comments

@zremboldt
Copy link

zremboldt commented Apr 5, 2021

According to the creator of Emmet this (see title) is already possible with Emmet itself but he's not sure how one would enable it in VS Code. See his post here: emmetio/emmet#512 (comment).

How can I set this to true in VS Code? As far as I can tell VS Code doesn't provide a way to set these "Stylesheet options" that you'll find in the emmet/src/config.ts file.

Here's what I'm trying to do: https://stackoverflow.com/questions/66945043/emmet-use-css-abbreviations-in-vs-code-for-css-in-js-object-syntax

If setting Emmet's "stylesheet.json" to true is not currently possible in VS Code is this a feature that could be added? I envision that it would be available in the list of Emmet options in the VS Code settings.json.

Thank you so much for taking a look! I've scoured the docs but please let me know if this is already possible and I just missed it somehow.

@vscodebot
Copy link

vscodebot bot commented Apr 5, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@rzhao271 rzhao271 added emmet Emmet related issues feature-request Request for new features or functionality labels Apr 5, 2021
@rzhao271 rzhao271 added this to the Backlog milestone Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emmet Emmet related issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants