Reputation: 12938
I am using intellij for development purpose. I wonder whether it has a feature where I can select a region (say I highlighted a method block), and undo edits done in that region. i.e. I am going upwards through the history local to that region.
Anyone knows whether there's any feature similar to that?
Upvotes: 0
Views: 161
Reputation: 5802
You can actually select all the text of that region, then right click (context menu) and select Local History -> Show History for Selection
It is not as fine grained as Ctrl-Z, though. You only get snapshots at specific events (updating from VCS, running a run/debug configuration, saving the file (I am not sure about that one), ...).
Upvotes: 2