Safe delete
GoLand lets you use the Safe Delete refactoring to remove files from the source code safely. Before GoLand deletes a file, it searches for usages and if they are found, GoLand lets you check them to make necessary adjustments.
Select an item you want to delete.
Select Refactor | Safe Delete from the main or context menu or press AltDelete.
In the dialog that opens, select necessary options and click OK.
If GoLand encountered potential problems, it displays the Usages Detected dialog. Proceed with the appropriate action.
Thanks for your feedback!
Was this page helpful?