-
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
[FR] editor.emmet.action.updateTag
fragment support
#128124
Comments
Changing the code to support this is easy enough, but the fragment renders as follows: I'm not sure if that's the behaviour you expect? CC @aeschli |
@rzhao271 That looks strange, if |
I wonder if it depends on your theme and settings? |
@rzhao271 I'm using the default dark theme with no settings and no extensions enabled. In all the themes listed below, none could cause multiple colors for me: Can you retry with no settings and no extensions enabled? |
@rzhao271 I see, you're using |
I took a look into this issue today. Fragment support is lacking in general. For example, even after I allow updating the tag to
|
Currently, when using
editor.emmet.action.updateTag
to rename tags, there's no way to rename the tag to be a fragment (<></>
).Also, when the
editor.emmet.action.updateTag
prompt shows up, hittingenter
does the same thing asescape
- nothing happens.Therefore, I propose a heuristic here - if the renamed tag name is empty (hit enter), rename the tag to a fragment.
The text was updated successfully, but these errors were encountered: