Deleting packages can be undone!
I have a package named "test" with a class named "Test" inside. I press delete while highlighting the package in the project view. It shows the following message:
+
Delete directory "test"?
All files and subdirectories in "test" will be deleted
You will not be able to undo this operation!
+
I selected yes, and poof, the package was gone. I hit Ctrl-Z and I recevied the following message:
+
Undo Delete?
+
Hmmm....ok. And voila, the package was back with everything restored. The warning message is a puzzle, but I am very thankful I can undo package deletes.
Please sign in to leave a comment.
+1 I like it too :)
BTW, i found some with it:
http://www.intellij.net/tracker/idea/viewSCR?publicId=23339
Why? IMHO, both delete and undelete files should have a confirmation
message.
Probably only works whith LCVS active and while LCVS has not expired
the change (3 days by default).
Of course it should have a message. :) It's just that the message "You will not be able to undo this operation!" was obviously false.
Kirk Woll wrote:
Ah. Missed this. Sorry for the confusion.