-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Typing : * $ @ etc in emmet abbreviation stops showing suggestions #29758
Comments
@jrieken Looks like something changed in the filtering logic of suggestions. Your recent change around the The emmet completion provider returns a completion list with Stable: In the current Insiders, every letter typed still calls the completion provider, but Current Insiders: |
Yes, I was curious in the first moment why it stopped working. |
Oh, bummer... That's a regression from a change I made yesterday to fix #28400. I'll might revert that change... |
Sorry to bother you. :/ |
Hm, reverting 5ad1618 (which is the fix for #28400) doesn't help. @ramya-rao-a It seems that |
So, we did make a change yesterday (I think too early for the version this was reported for) which does the following: When a suggestion result is incomplete and if the word as stopped we don't re-trigger suggestions but filter the suggestions we currently have. So, when typing I wonder if this was caused by having another provider that registers with the In short, there is something off. I am not yet convinced that a recent change caused this but things are complex. I acknowledge that there is a race between incomplete suggestions and trigger-characters, however I am a little scared to make a change late in the endgame. |
Ok, the competing provider is the html-extension that registers those completion item provider: https://github.com/Microsoft/vscode/blob/master/extensions/html/server/src/htmlServerMain.ts#L75. Still not sure what as changed but I'll think about a fix |
@ramya-rao-a I do have a change ready that makes sure to also resolve incomplete suggest results when a trigger character is being hit. However, when I ask emmet for completions with the I believe that this used to work by accident (more than one thing is off here) and that's because before the completion item would have a just the label Final word: There is something off when resolving incomplete suggest results when a trigger character is being hit, changing that is too risky IMO, and reveals other bugs in emmet (e.g. hit Ctrl+Space after |
Thanks for all the digging @jrieken
I have added |
Still an issue for abbreviations like Re-opening |
Yeah, whenever we hit a word stops with incomplete results and when the result isn't matching that we cancel. That was done in 5ad1618. Feel free to revert and reopen the corresponding issue. I am on vacation now... 🏖 |
Happy holidays @jrieken 😃 |
html:5
does not result in an suggestion in emmet
I add the * and $ to trigger char list as well. So we are good on those fronts. |
Note to verifier:
|
Just tested emmet suggestions with Thank you so much for your great work. |
Thanks for all the feedback @nanaasumadu and @jens1o |
(2 theme extensions excluded)
Steps to Reproduce:
index.html
filehtml
, see there is ahtml:5
suggestion:
, they are gone. 😢Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: