-
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 2.0: "Wrap with Abbreviation" messes up formatting #29283
Comments
maybe related to #27977? |
Not related to #27977 That one is about |
With 7358946 there will now be newlines before and after the selected text. This solves half the formatting problem. I'll keep working on it to improve it further |
@smlombardi @jens1o This should now be fixed completely. Try it out in Monday's Insiders build. Thanks for reporting @smlombardi ! |
Note to verifier:
|
Slightly inconsistent with abbreviations that expand to multiple elements. Not sure it's a problem though. e.g. Have empty selection, "wrap with abbreviation",
with cursor in the top div. |
(4 theme extensions excluded)
Steps to Reproduce:
div
In older Emmet, the block would be left alone and wrapped with a
<div></div>
but now this happens:The text was updated successfully, but these errors were encountered: