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
This is yet another case where it is better for language specific extensions to call emmet completion provider instead of the emmet extension itself trying to suggest completions in a language that is not pure markup language.
The language specific extensions better understand their language and can trigger emmet completion provider at the right locations.
I'll disable the emmet completions for cases when emmet.syntaxProfiles is used.
The command Emmet: Expand Abbreviation will still honor emmet.syntaxProfiles and will work as before (just not bound to Tab, you will have to assign a new key binding)
Emmet suggestions should not show up in the suggestion list
✅
You should be able to use the command Emmet: Expand Abbreviation to expand abbreviations
Yes, but it expands to <?<php></php> which I believe isn't valid php? Also, in the command palette the expand command is shown as being bound to Tab but actually pressing tab doesn't expand it...
command palette the expand command is shown as being bound to Tab but actually pressing tab doesn't expand it.
See #27611
In the new emmet model, tab will no longer be bound to the Emmet: Expand Abbreviation command. But since the old model still does support it, you end up seeing it
Jens Hausdorf (@jens1o) With all the improvements we did in 1.15, emmet suggestions in non html/css files has been greatly reduced.
Therefore, I have set emmet.showExpandedAbbreviation to always by default, so that once someone adds a mapping in emmet.includeLanguges, they start seeing the emmet suggestions right away.
roblourens found an issue for php, where this can still be noisy. See #32207
Can you add on to that issue if you find any other instances in php where you see the emmet suggestions as noise?
Activity
jens1o commentedon Jun 23, 2017
roblourens You're not meant. This is for Ramya Rao (@ramya-rao-a)
ramya-rao-a commentedon Jun 23, 2017
Have you mapped PHP to html using emmet.syntaxProfiles setting ?
jens1o commentedon Jun 23, 2017
Yes, I did.
ramya-rao-a commentedon Jun 23, 2017
This is yet another case where it is better for language specific extensions to call emmet completion provider instead of the emmet extension itself trying to suggest completions in a language that is not pure markup language.
The language specific extensions better understand their language and can trigger emmet completion provider at the right locations.
See #29114
I'll disable the emmet completions for cases when
emmet.syntaxProfilesis used.The command
Emmet: Expand Abbreviationwill still honoremmet.syntaxProfilesand will work as before (just not bound to Tab, you will have to assign a new key binding)Disable emmet completion provider for mapped modes #29318
jens1o commentedon Jun 23, 2017
Well, then I would expect that from the internal php extension. :/
2 remaining items
ramya-rao-a commentedon Jun 26, 2017
Note to verifier:
emmet.useNewEmmettotrueandemmet.includeLanguagesto {"php" : "html"}Emmet: Expand Abbreviationto expand abbreviations[-]Emmet: Writing a php start tag is torture.[/-][+]Emmet suggestions in php file is too noisy[/+]jrieken commentedon Jun 29, 2017
✅
Yes, but it expands to
<?<php></php>which I believe isn't valid php? Also, in the command palette the expand command is shown as being bound to Tab but actually pressing tab doesn't expand it...ramya-rao-a commentedon Jun 29, 2017
The verification step was more about testing general abbreviations, which work.
#29774 is tracking this particular case.
See #27611
In the new emmet model, tab will no longer be bound to the
Emmet: Expand Abbreviationcommand. But since the old model still does support it, you end up seeing itramya-rao-a commentedon Aug 10, 2017
Jens Hausdorf (@jens1o) With all the improvements we did in 1.15, emmet suggestions in non html/css files has been greatly reduced.
Therefore, I have set
emmet.showExpandedAbbreviationtoalwaysby default, so that once someone adds a mapping inemmet.includeLanguges, they start seeing the emmet suggestions right away.roblourens found an issue for php, where this can still be noisy. See #32207
Can you add on to that issue if you find any other instances in php where you see the emmet suggestions as noise?
jens1o commentedon Aug 10, 2017
Ramya Rao (@ramya-rao-a) Yeah, I'm going to use that issue. Thanks for the heads up!