When clause not working in command-palette property of command Object in extension.json

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" 
			}
}

Commands API Docs

Thanks
Emran