How to add existing files to the project ?
Sorry if this is off topic.
I'm new to IDEA.
I see an option to create a new file, and to add a source path.
But is there any way to add my existing java files to the project without adding a new source folder,
and without creating new empty files and cut-and-pasting the code from my existing java files?
Thanks a lot,
--Sergei
请先登录再写评论。
Can't you just put the your new source files (using windows explorer or equivalent) into you existing src directories? IntelliJ will recognize that the files are there and automatically add them to the project.
There is a request for this:
http://www.intellij.net/tracker/idea/viewSCR?publicId=39496#3419369
Alain
Thanks, Alain, that explains it.
No, unfortunately IDEA does not recognize them.