Safe delete
AppCode lets you use the Safe Delete refactoring to remove files and symbols from the source code safely. Before AppCode deletes a file or a symbol, it searches for usages and if they are found, AppCode lets you check them to make necessary adjustments.
Safe delete
Select a file/directory in the Project tool window or a symbol in the editor.
Select
from the main or context menu or press ⌥ ⌦.In the dialog that opens, deselect the Search in comments and strings checkbox if you want AppCode not to search for occurrences in comments and strings.
Deselect Search for text occurrences if you want AppCode not to search for the occurrences in text files.
Click OK
If AppCode encountered potential problems, it displays the Usages Detected dialog. Proceed with the appropriate action.
Last modified: 21 April 2022