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.
Instead of right clicking on a file and then selecting run from the menu that appears, or right clicking on a form object and going through the different event menus with my mouse, I would like to see what you might call hot keys or highlighted keys to navigate those menus. For instance, I right click on a .java file and am able to press r to run it without having to select the run with my mouse. Or when I click on a component of a frame and I want to add an event to that component, I could right click on that component, press e to bring up the events menu, then press m for the mouse menu and then have press c for the mouse clicked, or press e for mouse entered or x for mouse exited, or press p for mouse press or r for mouse release, after pushing one of these keys it would take me to the source code editor where my mouse event is placed, for me to add code to. Also possibly add the ability to bind shortcut keys to menu items. If more information or ideas is needed please contact me at brdohman@eiu.edu
Created attachment 38579 [details] example of what is being asked for feature
Thank you for filing this enhancement request. I does not belong to the Utilities module, reassigned to the general "IDE" category - it should be reassigned to the proper category soon.
Do I understand it correctly that this issue is about missing mnemonics in the pop-up menus? Well, they are there, but it is true, that there is only a few items with mnemonics in most of the pop-up menus. For example if you invoke a pop-up menu on the project root node in the Projects view, there is exactly one (yes, one) item with a mnemonics ("&Find") and the keyboard shortcuts are not present in the menu either (again, there are some, but...). I have already experienced difficulties using a pop-up menus myself. I have a laptop and I tend to use a keyboard for most of the manipulations with the NB IDE. I can't just remember every single keyboard shortcut, but sometimes it is logical that some action must be in the context menu of some NB IDE control, so I open the context menu (using a context menu key) so that I can see the options... Then I have to scroll down using arrow keys in order to select some option. A mnemonics would be much more convenient. I think appropriate mnemonics should be added to the pop-up menus (I know it is hardly possible to add mnemonics to every pop-up menu item, but there should be much more mnemonics present in the pop-up menus). I also think that the current state is a minor A11Y bug (P4, P5), but I will leave it as an enhancement.
As I understand the part with the mnemonic is the duplicate of issue #83952. Could you please confirm that (and also comment the former post of Petr Dvorak)? Thanks.
As noted in bug: 83952, part of the problem with enabling mnemonics is translation issues. If the mnemonic is set for english, then if the ide is translated into another language that mnemonic may not be valid. There is also the issue of duplicate mnemonics within a popup menu. Between the translation and duplication issues, this tends to be a less feasible request. However, mnemonics in menus are definitely helpful most fo the time.