user163947
user163947

Reputation:

Can't paste Java source file into IntelliJ IDEA

I recently moved to IntelliJ IDEA. And I need to add several files to one of the packages in my project.

The problem is I couldn't paste these files into that package. I also tried pasting the files in Explorer and pressing F5 in IntelliJ IDEA, but it did not work.

How to copy the files into IntelliJ except manually creating these source files one by one?

Upvotes: 2

Views: 3292

Answers (2)

Sam
Sam

Reputation: 6890

copy one-to-one files to destination in intellj.Several selected files don't work.

Upvotes: 0

krosenvold
krosenvold

Reputation: 77121

For some reason there's now two or three different paste functions available from the drop-down menu. One of them usually works. There's also a synchronize button under the file menu which may be used when there's inconsistencies , but frankly I very seldom use the synchronize button.

I have no idea why there's so many different paste functions, and it's definitely not very nice in an IDE that is known for its general niceness ;)

Upvotes: 1

Related Questions