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.
The shortcut for constructor parameters completion is Alt+P now. Pressing this combination on Mac causes writing of "PI" into editor. See attached screenshot.
Created attachment 23051 [details] Screenshot attached...
*** Issue 64011 has been marked as a duplicate of this issue. ***
This looks similar to issue 52142. Probably a duplicate.
The bug here is that the binding tries to use Alt on the mac. Alt cannot be used for keybindings on macintosh - it is used in most european locales for composing international characters. There is automagic support for keybindings which map to Alt on PC, Ctrl on mac - just specify the binding using "O" rather than "A" in the layer (i.e. O-P, not A-P). Do the same for Ctrl-based bindings - specify "D-P" to get Command-P on mac, Ctrl-P everywhere else. All Ctrl-based keybindings in NetBeans should be mapped to Command on mac (using "D" in the binding descriptor does this). All Alt-based keybindings in NetBeans should be mapped to Ctrl on mac (using "O" in the binding descriptor does this). Do not try to do Alt-based keybindings on mac, it won't work (or if it does, it will block some users from normal typing). Suggest either close this issue as wontfix and open a new one, or change its description to "Parameter completion should not be hard-bound to Alt"
This really needs to be fixed for 5.0 - just bind it to Ctrl (or use the O- shortcut binding and it will work everywhere). It's a 2 character change to fix this.
Will be fixed into 5.0. We need to check whether the action is properly configurable in the CompletionImpl.
The shortcut is taken dynamically from the options. Reassigning to Hanz to change the "A" modifier to "O" as suggested by Tim.
Is it still valid? I can not find such action in NetBeans.
There is no such shortcut.
This doesn't work for me. This is still valid issue and I agree with Tim that it should be fixed for 5.0.
Too late to fix in nb5.0.
This issue is still valid inside current trunk. --- NetBeans IDE Dev (Build 20061120-1032) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64 Mac OS X version 10.4.8 running on ppc en_US (nb); MacRoman
Sorry. It looks like the shortcut has been removed from default configuration. Nothing is currently bound to "Options|Keymap|Other|Show CC Tip Popup". Ctrl-P is currently free, will it be possible to map this shortcut to this action just for Mac users?
Alt-P should be fixed now as well as some other keybindings. I don't have Mac, can somebody please test it on Mac. Thanks. Checking in NetBeans-keybindings.xml; /cvs/editor/src/org/netbeans/modules/editor/resources/NetBeans-keybindings.xml,v <-- NetBeans-keybindings.xml new revision: 1.4; previous revision: 1.3 done
NetBeans IDE Dev (Build 200612051900) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64 Mac OS X version 10.4.8 running on ppc en_US (nb); MacRoman I still have the same problem with "PI". Sorry but I have to reopen this issue again.
I am sorry, this will sound really stupid, but what exactly do you mean that you have the same problem? The tooltip-show action is now bound to Ctrl+P on Mac. Pressing Alt+P on Mac will not invoke the action, but it will write 'something' to the editor (probably the "PI"). Could you please check that Ctrl+P shows the tooltip? Please see also my comments to issue #77129.
Ctrl-P is now working fine for invoking tool-tip with method parameters. Verified in following build: NetBeans IDE Dev (Build 200703181900) 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 Mac OS X version 10.4.8 running on i386 en_US (nb); MacRoman