In vim, I can type :e and reload the contents of the file from disk, overwriting all the changes I made. This is a good way to reset in case I am lost or just want to undo all my changes. This, obviously, does not take into account any refactoring, I just want to destroy all the changes in the buffer. Even closing and reopening a tab will not work.
How do I do this with Intellij IDEA? I am using Intellij IDEA Ultimate 13 and I have disabled any auto save.
intellij-idea
Bjorn tipling
source share