eclipse

Is there an equivalent of "Add existing file" (to project) in Eclipse?


I am trying to map my Visual Studio experience onto Eclipse. Right now, I wish to add a file existing somewhere on the file system into a project in Eclipse. I expect it to be copied to the project source folder.

Currently, I see only one way - switch to the windows explorer (total commander, in my case) and copy the file myself, after which to refresh the project.

Can I do the same without leaving the Eclipse IDE?

Thanks.


Solution

  • File->Import->General->File System should do it. There you can select the file(s) from some file system folder to your project (into folder).