You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue with the actual result is obvious. I would rather have the editor do nothing on Tab than creating tags in attribute context (and, as a user, having to remember not to use Tab at all in attribute context because it’s just too funky 😀 ).
Note: I looked at the list of issues tagged "html", and didn’t find an pre-existing issue. There are two issues with a broader scope (wanting the editor to be more context-and-vocabulary-aware and not simply syntax-aware), which might be duplicates of each other: #375 #19114
There is this feature request to auto-add double quotes after attr=: #18071
The text was updated successfully, but these errors were encountered:
Having tab trigger emmet abbreviation expansion has its issues, which is why we are working on presenting better way to surface emmet abbreviation expansion. You can read about it in our 1.13 Release Notes
Bottom line, yes what you have described is a problem, and we hope the that the new emmet model in the coming milestones will solve this issue.
Until then, you can set emmet.triggerExpansionOnTab to false if you are not a emmet user to free up the tab key from emmet. If you are curious about emmet, bind any other keyboard shortcut to Emmet: Expand Abbreviation command and use it that way.
Steps to Reproduce:
From this HTML document:
style
and hit the Tab key.test
and hit the Tab key.Expected result:
Less expected but would-be-okay result:
Actual result:
I think the issue with the actual result is obvious. I would rather have the editor do nothing on Tab than creating tags in attribute context (and, as a user, having to remember not to use Tab at all in attribute context because it’s just too funky 😀 ).
Note: I looked at the list of issues tagged "html", and didn’t find an pre-existing issue. There are two issues with a broader scope (wanting the editor to be more context-and-vocabulary-aware and not simply syntax-aware), which might be duplicates of each other:
#375
#19114
There is this feature request to auto-add double quotes after
attr=
:#18071
The text was updated successfully, but these errors were encountered: