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
Consider moving emmet completion provider for css to css language service #29113
In the new emmet, you get css abbreviations inside the <style> tag. But you get it everywhere inside the style tag including the selectors which is not valid.
Contents of <style> tag should be re-parsed as css to find valid locations for emmet abbr expansion
Or the emmet completion provider for css should be moved to the css language service
changed the title [-]Reparse contents of <style> tag as css to enable emmet abbr validation[/-][+]Consider moving emmet completion provider for css to css language service[/+]on Jun 26, 2017
Below were the advantages we were hoping for by moving the emmet css completions to the css extension
Emmet css completions in style attribute in html files
Reusing the parsing done by the css extension and not relying on the css parser from emmet which tends to get much slower for larger files.
The second problem got solved when we implemented the partial parsing of css files last milestone. See #43470 (comment)
The first problem can be solved in other ways.
Since we have upstream issues that block this move and there isn't much to gain out of this move, we are closing this item and will continue to keep css emmet completions in the emmet extension itself
Activity
[-]Reparse contents of <style> tag as css to enable emmet abbr validation[/-][+]Consider moving emmet completion provider for css to css language service[/+]ramya-rao-a commentedon Jun 26, 2017
Moving emmet completion to css language service will also help in sorting the emmet suggestion among css suggestions See the discussion in #28933
This will also help giving css emmet completions inside the style attribute in html tags. See #29066
18 remaining items
jens1o commentedon Mar 5, 2018
Will this affect the insiders release, too?
ramya-rao-a commentedon Mar 5, 2018
Jens Hausdorf (@jens1o) Yes, currently its reverted in Insiders release and will not be present in the upcoming 1.21 stable release.
jens1o commentedon Mar 5, 2018
Alright, I'll keep my eye sharp to test it once it's back ;)
ramya-rao-a commentedon Mar 26, 2018
microsoft/vscode-css-languageservice#81 and microsoft/vscode-css-languageservice#69 are 2 issues in the css language service that stops us from moving emmet to the css extension
ramya-rao-a commentedon Apr 23, 2018
Below were the advantages we were hoping for by moving the emmet css completions to the css extension
The second problem got solved when we implemented the partial parsing of css files last milestone. See #43470 (comment)
The first problem can be solved in other ways.
Since we have upstream issues that block this move and there isn't much to gain out of this move, we are closing this item and will continue to keep css emmet completions in the emmet extension itself