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 136173

Summary: Two action with the same name
Product: editor Reporter: Jiri Prox <jiriprox>
Component: Key bindingsAssignee: issues@editor <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: joshis, tor
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 123467    
Bug Blocks: 152193    
Attachments: screenshot

Description Jiri Prox 2008-05-30 14:52:48 UTC
In the Options -> KeyMap, there are two pairs of actions with the same name and the same shortcuts

EditorAction[Navigate to Next Occurrence:gsf-next-marked-occurrence]
EditorAction[Navigate to Next Occurrence:java-next-marked-occurrence]

One action comes from java/editor module, the second one from gsf.
I suggest either change the name or merger the actions in one. 
Two same actions look strange and can be confusing for the user
Comment 1 Jiri Prox 2008-05-30 14:53:50 UTC
Adding Tor to CC as a initial owner for ruby/gsf component
Comment 2 Torbjorn Norbye 2008-05-30 16:10:06 UTC
These actions won't be defined on the same mimetypes; java-next-marked-occurrence will occur in Java files, and
gsf-next-marked-occurrence will occur in GSF-derived file types.

Perhaps we can just change the action name to "next-marked-occurrence" in both Java and GSF?

It would be even better if we could define this in the base editor, along with a keybinding, so we don't have to keep
registering this across file types (as I understand this action is also available in the C/C++ support with its own
implementation as well).
Comment 3 Jiri Prox 2008-07-28 12:46:28 UTC
*** Issue 140437 has been marked as a duplicate of this issue. ***
Comment 4 Petr Dvorak 2008-09-03 21:29:20 UTC
See also Tools>Options>Keymaps, Project node...

(If I wasn't used to this, I would be pretty confused...)
Comment 5 Petr Dvorak 2008-09-03 21:30:13 UTC
Created attachment 68983 [details]
screenshot
Comment 6 Jan Lahoda 2008-09-08 09:58:56 UTC
joshis: the duplicated project related actions are likely unrelated to the original report - please file a new report
against the projects infrastructure.
Comment 7 Miloslav Metelka 2008-11-24 11:09:07 UTC
The new look of Options->Keymap does not exhibit the original problem so closing as fixed.