vscode: Context menu callback function on custom panel receive an unexpected object in VSCode 1.44

Hi, team In VSCode 1.44, context menu call back function would receive a object like below: { isTrusted:“true” }

Our context menu settings is like below:

"menus":{
   "view/title":[
      {
         "command":"azure-iot-toolkit.updateDistributedTracingSetting",
         "when":"view == iotHubDevices",
         "group":"azure-iot-toolkit-4@1"
      }
   ]
}

image

In previous version, it just received null

Is this by design or just a bug? It break our extension because we use this parameter to determine where it triggered.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 23 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks @alexr00 for checking this.