GoLand 2018.1 Help

Safe Delete

GoLand lets you use the SafeDelete refactoring to safely remove files and symbols from the source code. Before GoLand deletes a file or a symbol, it searches for usages and if they are found, GoLand lets you check them to make necessary adjustments.

  1. Select an item you want to delete.
  2. Select Refactor | Safe Delete (Alt+Delete).
  3. In the dialog that opens, select necessary options and click OK.
  4. If GoLand encountered potential problems, it displays the Usages Detected dialog. Proceed with the appropriate action.
Last modified: 16 April 2018