I'm used to deleting a line with CTRL+Y
and reverting a change with CTRL+Z
. But on my machine, Intellij removes the line, when I press CTRL+Z
instead.
I beleive it has something to do with a german layout/keyboard. Because they have y and z switched.
I set the layout to US, so it should not be a problem. When I press Y it really prints Y, but Intellij still interprets CTRL+Y
as reverting last change.
Configure keyboard shortcuts IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.
On the main menu, choose Edit | Undo. Press Ctrl+Z .
You can quickly switch between various color schemes, keyboard layouts, and look-and-feels without actually invoking the corresponding page of the Settings dialog. Press Ctrl+` or choose View | Quick Switch Scheme from the main menu.
It depends on the order of the keyboard layouts in your system.
Idea uses the top/first layout and does not care about the currently selected keyboard layout.
Solution: Just put the non-english layout to the top in your system settings.
Hint (depending on the question that leads to a QWERTZ keyboard):
Check your keymap and make sure the Undo action is set to CTRL Z. Likewise search for Delete line in the keymap and make sure it is set appropriately. Here is a screen shot of the Undo action (I am on a Mac so mine uses command key).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With