`Undo` after closing file

Hi
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.

2 comments
Comment actions Permalink

Hello,
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

0
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?

0

Please sign in to leave a comment.