eXo Platform 3.5

## Chapter 3. Operations With Folder

In this chapter, you are going to learn how to work with folders in eXo IDE. The following topics will be covered:

- Create a folder

- Delete a folder

- Rename a folder

- Download a zipped folder

## Create a folder

1. Click your desired target folder in the Workspace pane.

2. Click on the toolbar, then select Folder... from the drop-down menu;

Or, go to File --> New --> Folder... from the top menu.

3. Enter the folder name in the Create folder form.

4. Click Create to complete creating your new folder.

### Note

- If any file is selected in the Workspace pane, there will be a folder created in the parent folder of this file.

- In case no item is selected in the Workspace pane, the created folder is placed in the root folder.

- In case of multiple selections, this function is disabled.

## Delete a folder

1. Click your desired folder in the Workspace pane.

2. Click on the toolbar;

Or, go to File --> Delete... from the top menu.

3. Click Yes to confirm your deletion in the Delete Item(s) form.

Files opened in the Content pane are closed after the folder containing them has been removed.

### Note

You cannot remove:

- Workspace root folder.

- Multiple items from different hierarchical levels at the same time.

The Delete Item(s) function is disabled in case of selecting the root item and/or multiple items on different levels in the Workspace pane.

## Rename a folder

1. Click the folder you want to rename in the Workspace pane.

2. Go to File --> Rename... from the top menu to open the Rename item form.

3. Enter the new name into the Rename item to field.

4. Click Rename to accept.

You can rename folders and sub-folders containing opened but unsaved files. You can save them after renaming the folder, no data will be lost.

If the new folder name already exists in the target folder, you will receive an error message as below.

### Note

You cannot rename the workspace root folder.

### Warning

Remember to undeploy all earlier deployed REST Services within the moved folder or sub-folder before renaming the folder.

## Download a zipped folder

Download a folder from the JCR Repository

1. Click the target folder in the Workspace pane.

2. Go to File --> Download Zipped Folder... from the top menu.

The zip-archive with folder content is prepared on the server and sent to the client. There will be a suggestion window for you to save the archive on your local device.

### Note

The archive uses UTF-8 encoding in entry names. Be sure that your zip extractor supports UTF-8 in file names. The Windows Explorer does not support it, you may use 7zip to unzip the archive. In Linux, the unzip (6.0 or below) command also does not support UTF-8 (depending on distributive). If you use KDE 4 as DE, you may configure Dolphin to use archive as folder by going to Settings --> Configure Dolphin.. --> Navigation, then selecting the Open archive as folder checkbox.

Copyright © 2009-2012. All rights reserved. eXo Platform SAS