Browsing https://apidoc.c9.io/c9v3/#!/api to understand how to work in the menus.
I would like to create a panel for a plugin and add a menu item to enable it in the Window menu.
I found menus.addItemByPath but I believe that’s not the method used to create a checkable menu item.
Which method do I use for this case ?
In general, where can I find examples of plugins, in order to understand the logic in them ? ( I browse c9/core on GitHub in order to find the js file responsible of building the top menus, but haven’t found yet)