This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123448

Summary: Add "Insert" submenu into editor's contextual menu
Product: editor Reporter: jrojcek <jrojcek>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: blocker CC: jbecicka, lbarnard, msauer, olangr, pjiricka
Priority: P3 Keywords: PLAN, UI
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 134239    
Bug Blocks: 133913    

Description jrojcek 2007-12-05 12:20:41 UTC
Problem description and solution:

Currently the editor contextual menu contains technology-specific submenus, e.g. "EJB Methods", "Enterprise Resources", Web Service Client Resources". 
They make the menu long, cluttered and complex. As they all server the same use case  which is inserting code snippets into the edited source files, they 
should be be merged together into a single "Insert" submenu. See the spec (maybe needs an update):
http://wiki.netbeans.org/wiki/view/EditorContextualMenus

---

Note that even though I'm filing this issue as part of the 6.1 planning, the real intention is to address this issue either in 6.1 or in one of the upcoming 
releases.
Comment 1 Jan Becicka 2008-04-25 11:04:51 UTC
If I understand it well, in technical point of view this task is: allow to add items to Alt-Insert popup.
Comment 2 jrojcek 2008-04-25 13:25:01 UTC
Yes, all "insert" actions should be integrated into the "Insert Code" popup.

In addition to that, we're still considering the "Insert" submenu as a replacement for the existing code generating actions. I'll let you know ASAP what's the 
final proposal.
Comment 3 Jan Becicka 2008-05-21 15:17:01 UTC
This issue is fixed, right? After fix of issue 134239
Comment 4 Jan Becicka 2008-05-26 15:05:31 UTC
Milo, please take a look at it. Thanks
Comment 5 Miloslav Metelka 2008-06-05 23:15:59 UTC
I also assume that this is fixed thanks to issue 134239. Marking as fixed.