This page describes how to compare different versions of a file using the Local History feature.
Introduction
You can view the history of a file from one saved version to another to find what has changed each time you saved the file. Aptana displays the history in a Compare with Local History window. You will need to be working in the Project View for the Local History feature to work.
You can even use Local History to help you troubleshoot your Aptana projects. For example, if you are editing a JavaScript file in the late afternoon, and find that your code is broken, you can compare back to a version earlier in the day when your code was working to try to track down what change(s) caused the problem.
Instructions
To view the history of a file:
- In the Project View, right-click on the file whose history you want to display, or right-click the file currently open in the editor.
- From the pop-up context menu, select Compare With > Local History... to open a Compare with Local History pop-up window.
- The top part of the Compare with Local History window displays the dates and times of each time that the file was saved with changes.
- To view the changes from one version to the next, click the date/time entry in the top half of the window. The bottom half of the window highlights the changes that were made between the two versions.
- Click OK to close the Compare with Local History window.