When a file has changes compared to the version checked-out from the version control system (subversion and cvs in my case), I use Ctrl + Alt + Shift + ↑ / Ctrl + Alt + Shift + ↓ to jump between those changes. Sometimes I want to revert some of these changes (but not all the changes in the file). I can do that by using the mouse and clicking the little revert-icon with the green arrow, but is there a way to do it from the keyboard (without using the mouse)?
I am using IntelliJ IDEA 7.0.3.
You can set in Setting | Keymap and select Version Control Systems
in the keymap list and set the shortcut,but revert
action in my subversion settings was set default to Ctrl+Alt+Z
You need to assign a hotkey to the Rollback action in Settings | Keymap, it's not assigned by default.
UPDATE: it appears that the Rollback action actually calls Revert for the whole file. I've submitted IDEA-26912 for this, please Watch/Vote.
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