Add Menu Item in Cocos Creator Editor

Hi!

I would like to know if there is a way to add a Menu Item to an already existing menu in Cocos Creator Editor. Specifically to the Options Menu when you press the secondary button on a file.

Kind regards.

You want to add functionality to the editor or customize a contextual menu? Both I haven’t thought was possible currently.

Customize a contextual menu (that’s the name I suppose for those kind of menu). Basically I want to trigger a functionality of the plugin that I have made from an option in a contextual menu.

The flow would be.

Right click on a .fire file, on this contextual menu should appear a custom option (that’s what I need to do and the main purpose of this post) from where I can send a message to my plugin using IPC messages with the name of the selected .fire file as parameter (I think that is possible to get the current selected item with Editor.Selection).

Kind regards