Renaming source files

To rename source files and correct the references to those files, you can use the refactoring function of the workbench.

To rename an EGL source file (.egl), from the menu, select Refactor. For non-source files, select Rename.

  1. Select the file to rename by using one of these methods:
    • In the Project Explorer view, right-click the file
    • For files that contain a generatable part, right-click the generatable part in either the Outline, Parts List, or Parts Reference views
    • For files that contain a generatable part, in the EGL editor, place the cursor on the name of the generatable part and right-click
  2. From the pop-up menu, click Refactor > Rename. The Rename Part window opens.
  3. In the Rename Part window, type a new name for the file; be sure to follow EGL naming conventions.
  4. To see a list of the changes that EGL will make if you proceed, click Preview.
  5. If you clear Update references, EGL will not search other files for references to change. Select this check box in most instances.
  6. Click OK.
When you rename a file, the following changes occur:

Feedback