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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user
0
Avatar
Permanently deleted user

Thanks, Alain, that explains it.

0
Avatar
Permanently deleted user

No, unfortunately IDEA does not recognize them.

0

请先登录再写评论。