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.
Summary: | Need shortcut for "Run File" in editor popup menu | ||
---|---|---|---|
Product: | projects | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Generic Projects UI | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P4 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 |
Description
Marian Mirilovic
2004-07-29 11:50:46 UTC
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) |