How to delete Download in the File menu?

I have deleted Download in the Explorer menu by using

MenuModelRegistry.unregisterMenuAction({commandId:, order: '' }, ['navigator-context-menu', '6_downloadupload']),

but there still a Download menu in the File menu, then how can i delete it ?

@PeimingMo1 I’m not sure if you want to remove specific menu instances of the download command but the following worked to remove all occurances. The command is still available through the quick-command-palette however (using F1):

1 Like

It works, thank you.

1 Like