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
{{ message }}
Repository navigation
Provide css emmet abbr suggestions when inside style attribute in html files #29066
emmetEmmet related issuesfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities
In the latest Insiders it is possible to get css emmet completions inside the style attribute but only if there is a space after the " <div style=" dn| "> would give the right completion i.e display: none
but <div style="dn|"> wouldn't give any completion
This is because we assume that current word is the abbreviation in case of css. With emmetio/extract-abbreviation@ee01c36 we can use the extract-abbreviation module to fetch the abbreviation correctly
Emmet completions are now included but only when either manually triggered or when the abbreviation contains non word characters. Currently blocked on #13735
Turns out the problem is that completions don't get triggered inside strings. Adding the below will give emmet completions inside the style attribute as expected:
changed the title [-]Provide css emmet abbr suggestions when inside style attribute[/-][+]Provide css emmet abbr suggestions when inside style attribute in html files[/+]on Mar 13, 2018
emmetEmmet related issuesfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities
Activity
ramya-rao-a commentedon Jun 27, 2017
Closing this as #29113 can cover this feature ask
ramya-rao-a commentedon Feb 20, 2018
In the latest Insiders it is possible to get css emmet completions inside the style attribute but only if there is a space after the
"<div style=" dn| ">would give the right completion i.edisplay: nonebut
<div style="dn|">wouldn't give any completionThis is because we assume that current word is the abbreviation in case of css. With emmetio/extract-abbreviation@ee01c36 we can use the
extract-abbreviationmodule to fetch the abbreviation correctlyramya-rao-a commentedon Feb 27, 2018
Emmet completions are now included but only when either manually triggered or when the abbreviation contains non word characters. Currently blocked on #13735
ramya-rao-a commentedon Mar 11, 2018
Turns out the problem is that completions don't get triggered inside strings. Adding the below will give emmet completions inside the style attribute as expected:
cc G.M. Hurovich (@gushuro)
[-]Provide css emmet abbr suggestions when inside style attribute[/-][+]Provide css emmet abbr suggestions when inside style attribute in html files[/+]