Is there a way to remove submenu?

I would like to remove few sub menus like Selection, Go which are not used. How can i remove those sub menus?

[original thread by asvinwin123]

Does this help?

If you want to remove Go, you have to customize and rebind the EditorMenuContribution:


Thank you Akos.