Cannot copy class from one project to another without changing class name

Issue #1495 new
Piotr Kożuchowski created an issue

IDE will not allow copying class from one open project to another without changing it’s name.

Reproduction steps:

  1. Have 2 projects open at the same time
  2. Select class in side bar and hit CTRL+C
  3. Switch to other project, click on any class in side bar and hit CTRL+V
  4. Copy file dialog pops up, but OK button is disabled until file is renamed
  5. Rename file and hit OK
  6. Empty error dialog pops up
  7. The class is copied to second project

Comments (1)

  1. Piotr Kożuchowski

    This also affects 2 modules in 2 different folders (ex. I have created module for prod. metadata so I can do quick lookups, but I cannot copy files from prod module to my main module in IntelliJ)

  2. Log in to comment