1

enter image description here If I type one letter of the trigger/prefix, the snippet suggestion works to show the built-in snippets from extensions. But, once I type the next letter in the trigger/prefix...the built-in snippet from the extension is gone. Meaning, it is no longer found anywhere in the dropdown list (you won't find it by scrolling). enter image description here. Here is a snapshot confirming that the trigger/prefix is removed from the listenter image description here I found that with some built-in snippets from extensions, if I type out the entire word, it will reappear. For example, if I want: 'trycatch', it will be populated in the list when I type 't', disappear when I have typed 'tr', but then reappear when the entire trigger/prefix is typed.

How can i get a built-in snippet from an extension to show in snippet search when 2 or more letters of the trigger/prefix are typed? I am using version 1.75.0

I tried looking at the docs of VSCode, but it's too simple to help. I tried looking at my settings (keyword: snippets) and play around with any possibilities, but nothing seemed to fix it. Any google search comes up empty as well.

  • You still didn't add version info for relevant extensions. – starball Feb 03 '23 at 08:28
  • the same problem happens with Emmet commands, if it is a possible Emmet command you don't get any other suggestion, no snippets that might match, give your snippet prefixes an unused prefix that will not trigger suggestions from the LanguageServer or Emmet or ...., use a prefix like `xxraf` – rioV8 Feb 03 '23 at 11:40
  • Please provide enough code so others can better understand or reproduce the problem. – Community Feb 04 '23 at 03:25
  • honestly, you might be better off creating an issue ticket [on the VS Code GitHub](https://github.com/microsoft/vscode/issues) instead asking for help here. This smells like bug. – starball Feb 04 '23 at 03:26
  • 1
    Known problem, already fixed in Insiders, see https://stackoverflow.com/a/75340430/836330 – Mark Feb 04 '23 at 19:30
  • Does this answer your question? [Visual Studio Code's recent update is disrupting autocompletion](https://stackoverflow.com/questions/75340072/visual-studio-codes-recent-update-is-disrupting-autocompletion) – starball Feb 07 '23 at 19:41

0 Answers0