Rename a class

When a new class is added to a project, it is added to the Project Tree with a default name that you can edit immediately. Type a new name and press Enter to update the class name.

If your project changes and you want to change the name of a class, you can by following these steps:

  1. Open the Project Tree window if it is not already open.
  2. Expand the project and select the class to rename.
  3. On the Design tab, in the Edit group, click Rename.

    The class name in the Project Tree is now editable.

  4. Type a descriptive name that follows the name conventions.