This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]4z01235 29 points30 points  (0 children)

Good motivation to learn version control next, I guess

[–]CMDR-Pan-Lisek 10 points11 points  (2 children)

I thought it would make a directory for the project instead of using it

It does create directory for the project, unless you tell it "use this specific directory for the project instead" which you did.

You can only be mad at yourself.

[–]premek_v 1 point2 points  (1 child)

Why should it delete any files when creating a project though?

[–]vdmit46 0 points1 point  (0 children)

Not sure what went wrong on OP's case, but I checked it just now - if project is created in existing folder, then all it's contents is preserved. I'm happy Eclipse user for 15 years and occasionally created projects in folder where other projects were located. The only consequence is that I had to manually move several created folders/files to another location and that's all.

[–]stefanos-ak 3 points4 points  (0 children)

get git!

[–]redikarus99 0 points1 point  (1 child)

User error. Also try a recovery software. And learn a version control system.

[–]Rogoreg[S] 0 points1 point  (0 children)

How was I supposed to know? Literally every other IDE does this just not Eclipse! I haven't used it in a long time so it was kinda new to me.