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

前端 未结 8 2060
情深已故
情深已故 2020-12-24 04:51

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

相关标签:
8条回答
  • 2020-12-24 05:33

    Even easier. Just drag and drop the file from explorer into the correct package in Eclipse. It will ask you if you want to copy or link the file(s).

    0 讨论(0)
  • 2020-12-24 05:35

    Just found the quickest way to add files:

    1. Copy-paste your file into your project disk directory using your file browser.

    2. In Eclipse project browser select your project.

    3. Click [right mouse button]->Refresh (or press F5 on Windows machine).

    Voila

    (worked on Neon-4.6.2)

    0 讨论(0)
提交回复
热议问题