The Project view allows you
to move or rename a file from the current project.
To move a file or a directory, drag and drop it to the new location in the tree structure
from the
Project view.
You can also use the usual
Cut,
Copy, and
Paste actions or right
click the file or directory and select the action from its contextual menu.
Oxygen XML Editor presents a
Move resource
dialog with the following fields available:
- Destination - presents the path to the current location of the
resource you want to move and gives you the option to introduce a new location.
- New name - presents the current name of the moved resource and
gives you the option to change it.
- Update references of the moved resource(s) - enable this option
to update the references to the resource you are moving, in accordance with the new
location and name.
To quickly rename a file or a directory, use the in-place editing either by pressing
F2 or by selecting
Rename from the contextual menu of the resource.
You can also right click a file or a directory and select
the action from its contextual menu. Oxygen XML Editor presents the
Rename dialog in case you used in-place editing. The
Rename resource dialog is presented if you used the refactoring
actions. The following fields are available:
- New name - presents the current name of the edited resource and
allows you to modify it.
- Update references of the renamed resource - enable this option to
update the references to the resource you are renaming.
- Scope - specifies the scope of the rename
operation.
Note: The support to update references is available for XML, XML Schema, XSLT, Relax NG, and WSDL documents.