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.
Some Eclipse keyboard shortcuts are missing from the Eclipse Keybinding profile: Location Shortcut Comment (Eclipse Lingo) Edit -> File Members Ctrl+O Quick Outline Edit-> Replace Ctrl+F Find/Replace Edit -> Go To Type Ctrl+T Open Type Other -> Toggle Comment Ctrl+/ Comment current line* Source -> Fix Code Ctrl+1 Quick Fix Source -> Format Ctrl+Shift+F Format Source Tools-> Go to File Ctrl+Shift+R Open Resource
I found some additional keyboard shortcuts that don't work. I was pretty surprised to find these, since they are standard keyboard shortcuts in most Windows applications (copy, cut, paste, undo, etc). Here is the complete list (so far) of missing keyboard shortcuts from the Eclipse profile, I'll update if I find more. Edit -> Copy Ctrl+C Copy Edit -> Cut Ctrl+X Cut Edit -> File Members Ctrl+O Quick Outline Edit -> Go To Type Ctrl+T Open Type Edit-> Paste Ctrl+V Paste Edit -> Replace Ctrl+F Find/Replace Edit-> Undo Ctrl+Z Undo Other -> Toggle Comment Ctrl+/ Toggle comment/uncomment current line Source -> Fix Code Ctrl+1 Quick Fix Source -> Format Ctrl+Shift+F Format Source Tools-> Go to File Ctrl+Shift+R Open Resource
Here is an additional keymap that is missing: Location: Shortcut: Eclipse Lingo: Refactor -> Find Usages Ctrl+Alt+H Open Call Hiererchy
A couple more: Other -> Copy Selection else line down Ctrl+Down Arrow Copy Lines Other -> Copy Selection else line up Ctrl+Up Arrow Duplicate Lines
Location: Shortcut: Eclipse Lingo: Other -> Insert Code Alt+Shift+S Source...
One correction: Location: Shortcut: Eclipse Lingo: Edit -> Go To Type Ctrl+Shift+T Open Type And a new missing shortcut: Location: Shortcut: Eclipse Lingo: Edit -> Hierarchy Ctrl+T Quick Type Hierarchy
Two more corrections (my apologies): Location: Shortcut: Eclipse Lingo: Other -> Copy Selection else line down Ctrl+Alt+Down Arrow Copy Lines Other -> Copy Selection else line up Ctrl+Alt+Up Arrow Duplicate Lines Note, I've also been updating the list on my blog, the list can be seen at: http://www.jroller.com/heffel/entry/netbeans_6_0_eclipse_keyboard It might be easier to read there than going through all the comments I've been leaving here.
Found one more: Location: Shortcut: Eclipse Lingo: Other -> Insertion Point to Matching Brace Ctrl+Shift+P Go to Matching Bracket
The thing I miss (really miss) is ctrl-T (ctrl-shift T). I use this at least 20 times a day in eclipse. Its a life saver if youre programming to an interface and wish to navigate to an implementation of the interface.
Found two additional missing keybindings from the Eclipse keymap: Location: Shortcut: Eclipse Lingo: Other -> Move Selection else line down Alt+Down Arrow Move Lines Down Other -> Move Selection else line up Alt+Up Arrow Move Lines Up
One more correction: Location: Shortcut: Eclipse Lingo: Edit -> File Hierarchy Ctrl+T Quick Type Hierarchy I am still updating the list at http://www.jroller.com/heffel/entry/netbeans_6_0_eclipse_keyboard as I find corrections or additions. The list of shortcuts is easier to read there.
Huh, that sounds like our Eclipse profile is pretty much useless with so many missing shortcuts (including the very basic ones). It should be easy to fix. Thanks for this nice report.
One more: Location: Shortcut: Eclipse Lingo: Other -> Show Documentation Popup F2 Show Tooltip Description
vstejskal, Since this should be an easy fix, is there any chance that the missing shortcuts could be included in NB 6 final? David
unfortunately not, 6.0 is almost released, but I suppose it will be possible to "import" keymap settings from dev build to 6.0 once, this issue is fixed.
Found one more: Location: Shortcut: Eclipse Lingo: Edit -> Find in Projects Ctrl+H Open Search Dialog Blog post at http://www.jroller.com/heffel/entry/netbeans_6_0_eclipse_keyboard updated accordingly.
Once fixed, we should be able to make it downloadable from AU, the module would be ide/defaults. I'm not exactly sure how this would be called in the actual list under Tools -> Plugins.
*** Issue 116836 has been marked as a duplicate of this issue. ***
Raising priority to P2 - this is key functionality that does not work right. Someone who tries it and the keybindings don't actually work is even less likely to try NetBeans in the future.
Vito, please fix it. Thanks
Should be fixed. David, could you please check the shortcuts in a dev build or 6.1M2 when it's ready? Thanks http://hg.netbeans.org/main/rev/a6641e28225d
I've gone through all shortcuts mentioned in this report and all works fine for me. It would be fine if someone with Eclipse experience would confirm it as well.
The fix has been ported into the release601_fixes branch. Checking in mf-layer.xml; /cvs/ide/defaults/src/org/netbeans/modules/defaults/Attic/mf-layer.xml,v <-- mf-layer.xml new revision: 1.56.8.1; previous revision: 1.56 done Checking in Eclipse-keybindings.xml; /cvs/ide/defaults/src/org/netbeans/modules/defaults/Attic/Eclipse-keybindings.xml,v <-- Eclipse-keybindings.xml new revision: 1.20.8.1; previous revision: 1.20 done
I downloaded the latest NetBeans 6.0.1 patch by following the steps explained at http://www.nabble.com/NetBeans-6.0.1-Patch1-Now-Available-td15596184.html I went through all the Eclipse keyboard shortcuts. It looks like all but one of the shortcuts are now correct. The one that is still not working is: Other -> Show Documentation Popup F2 Show Tooltip Description
yes F2 is still assigned to improper action, it works only between braces of method call, see issue 127116