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 46729 - Need shortcut for "Run File" in editor popup menu
Summary: Need shortcut for "Run File" in editor popup menu
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-07-29 11:50 UTC by Marian Mirilovic
Modified: 2006-03-24 10:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-07-29 11:50:46 UTC
[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 ....
Comment 1 Marian Mirilovic 2004-07-29 11:51:58 UTC
The same for "Run File" action ....
Comment 2 Martin Roskanin 2004-07-30 11:02:31 UTC
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
Comment 3 Jesse Glick 2004-07-30 19:21:15 UTC
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.
Comment 4 Jesse Glick 2004-07-30 20:37:03 UTC
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.
Comment 5 Jesse Glick 2004-07-30 23:36:59 UTC
Oops, meant to assign to myself.
Comment 6 Jesse Glick 2004-07-30 23:37:39 UTC
committed     Up-To-Date  1.35       
projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml
Comment 7 Marian Mirilovic 2004-08-02 07:27:18 UTC
verified in [nb_dev](200408011800)