Please help! IntelliJ 11 just deleted all my files!!!!!

已回答

Sorry for the multiple exclamation marks but IntelliJ 11 ust deleted all my projects. In fact, it even deleted all the prjects that were not open in IntelliJ!!!
Could someone please tell me how I can recover those files ? Or am I to assume they are all gone!

How did this happen ? I am not sure but the last time I saw my code was when I opened IntelliJ and it opened the projects that were previously open. It began to index one of them but I did not need that project open and I closed it. IntelliJ became unresponsive and I closed all the projects. I try to open them again and there is nothing!!!  Including the ones which were not even open in IntelliJ!!!   There is a major bug in IntelliJ and I am paying a heavy price for it now!

Why does not IntelliJ use the trash bin when it deletes a file!!! !@!!

4

These steps do not reproduce the problem. There is probably some code that deletes file in your python test script.

0

Wow you are right! I am very sorry!

0
Avatar
Permanently deleted user

To anyone victim of this, try to get testdisk as interim solution. It will help recover all your lost files until such a time as the JetBrains team comes up with a definitive fix.

Warning: testdisk takes quite a while to search through the entire disk; and with a bit of luck some of the files you thought long lost might just pop up.

0
Avatar
Permanently deleted user

Hi, 

Faced with similar issue, was working on 2 different projects, and some how due to my display problem I had restarted my laptop,

And now the IdeaProjects directory is no longer present on my drive thereby 12 projects are now lost along with all different types of configurational settings, I see the paths present to all the projects under previous/recent projects.. but they are no longer accessible as the main directory itself is somehow deleted.

M using 2017.2.2 version

0

This could be caused by the corrupted file system during the OS crash and hard reset. Try using disk check utility which may recover lost files.

0
Avatar
Permanently deleted user

Hello, while I was working in IntelliJ, I emptied my trash. Then my open IntelliJ windows popped to the front of the screen, except that they had no code. On top of this, all the files in my Code folder are gone.... years of work... I cannot prove that it was IntelliJ nor am I placing blame. It is interesting that others have had the same issue. 

Right now it sucks to be an optimist because I want to be pissed. All folders of my code... Gone...

0

Most people reporting similar problems do not actually have the same problem. In most cases it's some external issue not related to IntelliJ IDEA. At the moment there are no known or reproducible problems of IntelliJ IDEA deleting user files.

You can use Local History to try to restore your project files: https://blog.jetbrains.com/idea/2008/01/using-local-history-to-restore-deleted-files/ .

I'd also recommend using the version control with the backup or cloud solution like GitHub if you don't want to lose years of your work.

0
Avatar
Permanently deleted user
0

Yes this can happen sometimes, you force quit pycharm in the middle of a never-ending indexing or skeleton loading that somehow seems to hang forever, and the next time you open your entire project is blank, no files in it. So fucked up lol. I am trying to use Time Machine to revert back to an earlier stage but the time to copy everything takes so long, I've just lost hours for no apparent reason.

0

This just happened to me! IntelliJ froze, so I killed it. The next thing I know, the entire parent directory of my project (including all of my other projects!) is completely empty!

0

Bob

IDE never deletes files even when it's frozen. There could be some external issue like a hardware problem with the drive itself which has caused IDE freeze and corrupted the file system.

If it freezes again, please report the issue at https://youtrack.jetbrains.com/newIssue?project=IDEA with the thread dumps attached per https://intellij-support.jetbrains.com/hc/en-us/articles/206544899 .

As recommended above, you can use version control and third-party backup software to keep your code safe.

0

Yesterday, PyCharm 2021.2.3 cleaned the whole project folder in my Mac. After some freaking out, I was able to recover my files from Local History. I would like to know the cause of this disaster and how can we avoid it!

0

@Shirin Najdi are you sure you do not have any file removing scripts in your project? What exactly has happened before the files was removed?

0

@... yesss it was a very primitive bug! Sorry for accusing PyCharm :D Anyway the local history saved me!

0

Hi!!
I am facing similar issue, my project got deleted three times so far. I was not sure what happened on first time, I was completely clueless, but kept my eyes open from then onwards. I was not planning or even thinking of deleting the project all I did was close the intelliJ as it was behaving weirdly and boooooomm all gone !!!

I am not sure what I did, I mean about the steps to reproduce it but I am now 100% confident it is because of IntelliJ IDEA only. And this is the only thread I found relevant to issue I am facing.

This is a Maaaajor bug please look into this and fix it.

Below are the details of intelliJ I am using.

IntelliJ IDEA 2022.1.2 (Ultimate Edition)
Build #IU-221.5787.30, built on June 1, 2022
Runtime version: 11.0.15+10-b2043.56 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

0

We'll need the steps to reproduce if the issue is really caused by IntelliJ IDEA (which is unlikely).

0

Hi! When I'm closing Pycharm, and reopening the project, main.py file of my project is getting changed, all my code is deleted and replaced by defaults, don't understand it.

0

请先登录再写评论。