views:

54

answers:

1

I did right-click > refactor > move from the project menu, "Move everything from .../../ to another directory" > OK selected a different folder, and wham, all my data is gone. I did a grep -r in the project tree to find it, and a find . -iname 'mydataas' still nothing shows up. Its gone.

Why does Intellij do this?

+4  A: 

First, that's never happened to me either. Second, right-click on the original directory and select "Local History". A history dialog should come up, which you can use to revert to what was there before you tried to refactor.

Dave Griffith
This was a new gwt module I was working on, so I didnt have it committed to svn, I was just about to comit it, just after moving it to the right directory.
AntonioP
Thank you Dave, it was in the "Local History", nowhere else, I was about to begin rewriting everything... thanks.
AntonioP