Home > OS >  VSC snippets placeholder choices not loading
VSC snippets placeholder choices not loading

Time:03-07

As the title says, I'm having problems with VSC's snippets placeholder choices as it gets stuck loading and I never get any of the options.

At the moment I'm testing with a really simple snippet:

    "console.log": {
        "scope": "javascript,typescript",
        "prefix": "cl",
        "body": [
            "console.${2|log,table,count,dir,error,info|}(${TM_SELECTED_TEXT:`${1:Here}`});"
        ],
        "description": "Log output to console"
    },

And the previous snippet ends with my second placeholder never showing the options

enter image description here

Any ideas of how to correct this? I already tried changing the followings settings as some post talked about them, but it didn't work:

enter image description here

CodePudding user response:

A known issue, see Github Issue: Code snippet "Choice" feature no longer working

A fix for this will be in next VS Code Insiders. Also, this will be part of a 1.65.x recovery release.

So it'll be the Insiders released Monday, 03/07/2022 at soonest and then a early recovery Stable release, possibly 1.65.1 in roughly a week judging from past history

  • Related