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.
In the Java editor,[Ctrl]-[Z] doesn't trigger "Undo". However, "Undo" works from the toolbar icon and from the menu.
It's working fine in a dev build. What shortcuts profile and keyboard layout are you using? Some keyboard layouts have the letters Y and Z swapped. Could that be the issue?
Ah, stupid me! I'm using the Eclipse key binding, and I didn't even think that "[Ctrl]-[Z]" wouldn't be mapped to Undo. So the problem is that the Eclipse key binding had the non-existing key "UNDO" mapped to Undo. I think this is a bug because "[Ctrl]-[Z]" _is_ mapped to Undo in Eclipse, like everywhere else.
I checked it out at a glance, and the following, rather basic shortcuts are not mapped to the same keys as in Eclipse, when using the Eclipse key bindings in Netbeans: - Undo: non-existing "Undo" instead of [Ctrl]-[Z] - Copy: non-existing "Copy" instead of [Ctrl]-[C] - Cut: non-existing "Cut" instead of [Ctrl]-[X] - Paste: non-existing "Paste" instead of [Ctrl]-[Z] - Find: non-existing "Find" instead of [Ctrl]-[F] There's more (all of the refactorings are wrong). Guys, when you call it the "Eclipse key bindings", then it should actually have the Eclipse keys as well.
*** Issue 118056 has been marked as a duplicate of this issue. ***
*** Issue 108409 has been marked as a duplicate of this issue. ***
From issue #108409: CTRL-SHIFT-F : Reformat code CTRL-7 or CTRL-/: Comment some of the refactoring shortcuts
Please also review this user's table of 21 missing keyboard shortcuts (key bindings) from the NetBeans' Eclipse profile: http://www.jroller.com/heffel/entry/netbeans_6_0_eclipse_keyboard
Ok, let's track this problem in a single issue. *** This issue has been marked as a duplicate of 122512 ***