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.

1
4 comments

+1 I like it too :)
BTW, i found some with it:
http://www.intellij.net/tracker/idea/viewSCR?publicId=23339

0

The warning message is a puzzle


Why? IMHO, both delete and undelete files should have a confirmation
message.

but I am very thankful I can undo package deletes.


Probably only works whith LCVS active and while LCVS has not expired
the change (3 days by default).



0

The warning message is a puzzle


Why? IMHO, both delete and undelete files should have
a confirmation
message.


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.

0

Kirk Woll wrote:

"You will not be able to undo this operation!"


Ah. Missed this. Sorry for the confusion.


0

Please sign in to leave a comment.