Hi,
The “when” clause does not work for “command-palette” subset of commands object in extension.json… I tested the code by using other subsets like “extensions” and “editor” and a simple boolean true or false works just fine.
"commands" : {
"command-palette": [
{
"title": "xxxx",
"command": "xxxxx",
"when": "false"
}
}
Thanks
Emran