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.
Mac HIE guidelines and other mac apps bind Command-G to GotoAction. We will soon integrate a patch which remaps layer- specified Ctrl-nnn to Command-nnn for cases where the resulting bindiing does not conflict with the OS. Goto should be conditionally bound to Alt-G on the mac and Control-G elsewhere.
Created attachment 16584 [details] Patch to editor and core/ui to map ctrl-g differently on mac (ctrl will be automattically remapped to command once other patches are in place)
Minor correction - with the addition of explicit key mappings in the newest patch for issue 26854, it is possible for Goto to always be bound to CTRL-G, even on mac, which is pretty much the best of all possible worlds. I will attach a new patch that takes this into account.
Created attachment 16588 [details] Revised patch
The attached patch works in combination with the (hopefully soon to be committed) patches for issue 26854. So, what will happen is basically simply that: Ctrl-G will be Goto on the mac, just like everywhere else. On the mac: Command-G will be find-next, as with other mac apps. Command-Shift-G will be find previous Command-Ctrl-G will be find selection (the second two normally map to Shift-F3 and Ctrl-Shift-F3, respectively; it's more intuitive to keep them together).
I guess the global binding should be handled in the ide/applemenu module.
Better description - leaving ctrl-g bound to Goto on the mac is just fine - just also map Meta to Find Next, which is what the current patches do.
Fixed as part of issue 46811
Verified.