| Online Eiffel Documentation

EiffelStudio

# Rename class

1. Start pick-and-drop on the class bubble of which you want to change the name.
2. Drop it in the Rename Feature/Class hole.
3. After a compilation the Refactoring: Class Rename dialog appears. You can enter a new name.

4. You can choose between these options:
   - Compiled Classes: only to the refactoring in compiled classes.
   - All Classes: do the refactoring in all classes, even in uncompiled classes.
   - Rename File: rename the file of the class to correspond with the class name, if another file with this name already exists the file will not be renamed and a warning will be given.
   - Replace Name in Comments: replace usage of the class name in comments that follow the {CLASSNAME} syntax.
   - Replace Name in Strings: replace usage of the class name in strings that follow the {CLASSNAME} syntax.
5. Click OK.