eXo IDE provides the versioning that enables you to realize the versions history of the file:
view version's content;
view the list of versions;
restore to an accurate version.
A new version of the file is created each time after the file content has been saved by clicking the Save button. There are no versions in version history just after the file had been created only.
To view the version history of the file which is being opened/selected, click the View Item Version History button at the right part of the toolbar; or select View > Version History... on the top menu. The Version Panel with content of the latest version are opened at the right column of the eXo IDE window:
Illustration. View version history of the active file
The version name is displayed in the title of the Version Panel.
If the selected/opened file is not versioned yet, the "View Version History" function will be disabled.
The file version is opened in the read-only mode. So, you can not edit it.
If any files are opened, the "Version Panel" of the previously opened file will be closed automatically.
With eXo IDE, you can navigate to any older or newer versions of the opened file.
To view the older/newer version of the opened file, click the View Older Version/View Newer Version button on the toolbar, or select View > Older Version/Newer Version on the top menu. If there is no newer/older version, the View Newer Version/View Older Version command will be disabled respectively.
If you want to view the another version from the versions history, do as follows:
Step 1: Click the View Item Version... button on the toolbar; or select View > Version... on the top menu.
Step 2: Select the target version.
Step 3: Click the Open button or double-click the version item.
Illustration. Open version from version list
Versions are listed in the reverse order, with the latest version first.
To restore a file to the older version, do as follows:
Step 1: Click the Restore To Version button at the right corner of toolbar, or select File > Restore To Version on the top menu.
Step 2: Click Yes in the confirmation dialog to restore to the version.
Illustration. Restore file to version
The "Restore version" command is disabled, if the latest version is displayed.