`Undo` after closing file

Tell me please, is it posible to clear undo history after file closing?

It is a little bit confusing, when you open file, do something and after that you want to rollback, you hold Ctrl+Z and implicitly rollback all changes including previous file usage session* changes...

*session - open file, edit, close.

Comment actions Permalink

IDEA/PhpStorm does not have file session concept. There is no file save and file close operations.
Instead, Local history stores all file modifications since the program start and you are able to undo or to switch to any file version you want.

-- regards,
Alexey Kudravtsev

Comment actions Permalink

Is it possible to disable this long-term history and have ability to roll-back only to condition with was when you open file?


Please sign in to leave a comment.