Moving a source file

You can use the refactoring function of the workbench to move source files and correct references to those files.

With refactoring, you can move EGL source files to a new location in an EGL package in your workspace.

  1. In the Project Explorer view, right-click the file and then click Refactor > Move. The Move window opens.
  2. In the Move window, select a destination for the file. You can create a new package for the file with the Create Package button.
  3. You can click Preview for a list of the changes that EGL will make if you proceed.
  4. If you clear the Update references to the moved elements check box, EGL will not search other files for references to change. In most instances, select this check box.
  5. Click OK.
Moving a file makes the following changes:

You might still need to check for other changes that refactoring causes.


Feedback