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

Emmet html abbreviations should be suggested inside <style> or <script> blocks #28202

Closed
ramya-rao-a opened this issue Jun 7, 2017 · 4 comments
Assignees
Labels
emmet Emmet related issues
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

Set emmet.useNewEmmet to `true

In an html file, create a style/script tag.
Anything you type inside gets treated as an html abbreviation to expand.

since this abbreviation is suggested at the very top, users will always have to navigate the list for their actual preferred completion item

@ramya-rao-a ramya-rao-a added the emmet Emmet related issues label Jun 7, 2017
@ramya-rao-a ramya-rao-a added this to the June 2017 milestone Jun 7, 2017
@ramya-rao-a ramya-rao-a self-assigned this Jun 7, 2017
@jens1o
Copy link
Contributor

jens1o commented Jun 7, 2017

Well, tbh, I don't see the problem in the script tag, because you can always include a template in it:

myFancyElement.innerHTML = '<div class="exampleClass">How are you doing?</div>';

@ramya-rao-a
Copy link
Contributor Author

Closing as this can be covered as part of #28202

@jens1o
Copy link
Contributor

jens1o commented Jun 12, 2017

@ramya-rao-a You're referencing to the same issue?

@ramya-rao-a
Copy link
Contributor Author

ramya-rao-a commented Jun 12, 2017

haha.. sorry I am a little sleep deprived today. I meant #28039

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
emmet Emmet related issues
Projects
None yet
Development

No branches or pull requests

2 participants