Moving/Renaming Resources in the Navigator View
The Navigator view allows you to move or rename files in the current project.
Moving Resources
To move a file or directory in the Navigator view, drag and drop it to the new location in the tree structure or use the Move action from the contextual menu (you can also use the Copy and Paste actions from the contextual menu or Edit menu to copy resources to a new location).
You can also move certain types of files (such as XML, XML Schema, Relax NG, WSDL, and XSLT) by using the action from the contextual menu. This action opens the Move resource dialog box that includes the following options:
- 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, based upon the selected scope. You can select or configure the scope by using the button.
Renaming Resources
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.
You can also rename certain types of files (such as XML, XML Schema, Relax NG, WSDL, and XSLT) by using the action from the contextual menu. This action opens the Rename resource dialog box that includes the following options:
- 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. You can select or configure the scope by using the button.