Use this dialog box to specify options for the Safe Delete refactoring command. You can use the Safely Delete command to have the IDE check to make sure that the code element that you want to delete is not being used by other code. If the code element is not used, the IDE deletes the code element.
You can open the Safe Delete dialog box by choosing Refactor > Safely Delete after you have selected a code element in the Source Editor, Projects window, or Files window.
The dialog box has the following fields:
If Preview All Changes is not selected, the refactoring is done immediately after you click Next.
If you select the Preview All Changes checkbox, you need to follow these steps to complete the refactoring:
The Refactoring window opens and displays a tree view of the code to be affected by the refactoring.