To rename a routine, open the editor for the routine. You can change the name of the routine from the text field at the top of the editor.