Copy/Clone
The Copy refactoring allows you to copy a class, file, or directory with its entire structure from one directory to another, or clone it within the same directory.
To copy a class, file, or directory
- Select the desired item in one of the views or open it in the editor.
- Do one of the following:
- On the main menu or on the context menu of the selection, choose .
- Press F5.
- Select the desired class in the Project tool window and drag it to the target destination with the Ctrl key pressed.
- In the Copy dialog box that opens specify the new name and destination, then click OK.
To clone a class or file
- Select the desired item in one of the views or open it in the editor.
- Press N/A.
- In the Clone dialog box that opens specify the new name, then click OK.
Last modified: 29 November 2017