Delete a Class
When a class is no longer needed, the best practice is to remove it from the project. Review your entire project once you delete a class to ensure that there are no unused global settings such as formatters or validation methods specific to that class. Removing unused elements ensures that your project is as efficient as possible and takes up less disk space.
When you delete a class, you also delete all of its contents,
including child classes, locators, fields, validation rules, structure rules,
instructions, validation forms, and associated scripts.
You can remove a class from the Project Tree by following these steps:
- Open the Project Tree window if it is not already open.
- Expand the project and select the class to delete.
- On the Design tab, in the Edit group, click Delete.
- When prompted, click OK to confirm the deletion.