Copy dialog
Last modified: 10 August 2022Refactor | Copy
F5
Use this dialog to specify the settings for the Copy refactoring.
Item | Description |
---|---|
New name | Specify the name of the class, file, package or directory to be created. |
To directory | Specify the directory where to create a copy. Select the destination directory from the list, or click |
Destination package | When creating a copy of a class: specify in which package the new class should be created. Select the package from the list, or click |
Target destination directory | When creating a copy of a class: if there is more than one source root in your module (e.g. one source and one test source root), you have an option of selecting in which of the source roots the new class should be created. Select the destination source root from the list, or click If the specified destination package doesn't exist in the selected source root, it will be created automatically. |
Open copy in editor | Select this checkbox to automatically open a file, directory or package after it is copied. If you clear this checkbox, then the file, directory or package that you have copied will not be opened. |
Thanks for your feedback!