microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.12k stars 29.27k forks source link

Emmet completions disappear when using bem in the presence of other snippets #45368

Open user3323 opened 6 years ago

user3323 commented 6 years ago

Bootstrap 4+ snippets extensions are installed.

Well, first of all, I'm a little confused how "bem" matches with b4-media-....

emmet - priority

But even if so, do we have an option for Emmet to have higher priority on every other extension?

ramya-rao-a commented 6 years ago

By the time ...|be is typed emmet returns 0 completions (as it should). VS Code doesnt ask a completion provider for completions if it has already returned 0 until then next word is typed. See #13735. So when the final m is typed Emmet completion provider never gets consulted.

For now, hit escape and re-trigger completions again by pressing Ctrl+Space

We'll either work on getting #13735 fixed or I have some ideas on returning abc|bem as a completion item from vscode-emmet-helper module when you have just typed abc|b