Renaming a Resource

You can rename a resource while maintaining integrity with its referenced files.

This means that the path to the modified resource is updated to reflect the change. If the change results in an error, the service referencing the renamed file is marked with a Problem marker.

  1. Right-click the resource you want to rename in the WorkSpace Navigator and select Rename.
  2. Type a new name in the text box using the following naming conventions:
    • Begin the name with a letter. Do not begin the name with a number or an underscore.
    • Use alphabetic or numeric characters and underscores after the initial letter.
    • Do not use spaces in project or folder names.
  3. Click anywhere outside the text box to save the changes.
    Note: If you are renaming a Java file, only the file is renamed, the underlying class is not changed. You must manually change the class name in the source.