How to clear `Undo` history after closing file in JetBrains WebStorm or PhpStorm or other jetbrains products?
Answered
Is it possible to clear undo history after file closing? Or in the other words:
How can i disable Undo After File Closed?
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 closed file usage changes.
to reproduce:
open file
write A
close file
open same file
write B after A
press and hold Ctrl+Z
you will see that both changes are gone and this is not a good feature, To me, this risks unintended/accidental changes.
Is there any option to enable/disable this functionality?
Please sign in to leave a comment.
No, there isn't any option for that currently. Feel free to vote/comment https://youtrack.jetbrains.com/issue/IDEA-108209 if you haven't yet