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.
[nb_dev](200407281800), [jdk1.5.0](b58) Toggle Breakpoint action has no shortcut visible in the editor popup menu , but the same action has visible shortcut in Run main menu ....
The same for "Run File" action ....
fixed in [maintrunk] as for editor module /cvs/editor/src/org/netbeans/modules/editor/NbEditorKit.java,v <-- NbEditorKit.java new revision: 1.66; previous revision: 1.65 done Action Run File should provide an Action.ACCELERATOR_KEY value as i.e. Toggle breakpoint does. Reassigning to projects, where the action seems to be implemented
I am not sure where this bug actually is. projects/projectui correctly defines the action and also defines a shortcut for it (S-F6). That should be enough to set Action.ACCELERATOR_KEY automatically.
Never mind. The main menu item is in fact registered correctly. The editor popup item was incorrectly registered as a new instance of the action. Making it a shadow to the original action (in Actions/) makes the accelerator appear correctly.
Oops, meant to assign to myself.
committed Up-To-Date 1.35 projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml
verified in [nb_dev](200408011800)