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

4 comments

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.

0

Thanks, Alain, that explains it.

0

No, unfortunately IDEA does not recognize them.

0

Please sign in to leave a comment.