Change history

 

Global change history

If the Preferences | Editor | Change History | Enable change history option is enabled CodeGuide keeps track of the most recent changes made to files and directories via Save, Save all, refactoring, delete, etc. The Global Change History is used to implement Refactoring | Undo as well.

 

The contents of the global change history can be accessed using the File | Global change history... menu entry.

 

 

 

The global change history dialog shows a list of the most recent changes. The number of changes which are kept can be configured in the Preferences Dialog. Each change event is labeled with its associated time and the kind of change (such Save, Save all, Refactoring, Global Undo, etc...). If you expand the change event you can see which files have been modified. External changes are recorded as well prior to each operation.

 

You can undo each save event individually provided that none of the files/directories involved have been modified subsequently. If any files involved have been changed subsequently those changes have to be undone as well and CodeGuide will mark those changes when pressing the Undo button.

 

 

Undo events are recorded in the global change history as all other changes can thus be undone as well.

 

 

File change history

If the Preferences | Editor | Change History | Enable change history option is enabled CodeGuide keeps track of the most recent changes made to files and directories via Save, Save all, refactoring, delete, etc.

 

To access earlier revisions of a specific file you can use the File | Change history... menu entry to bring up the following dialog.

 

 

This dialog lists the most recent revisions of a file with the information on when and how the revision was created (i.e. changed externally, saved, through refactoring, etc.). The last entry represents the current revision found on disk. You can select an earlier revision and press the Restore button to restore this revision. Restoring an earlier revision is recorded in the file change history as well as the global change history.

 

You can specify how many revisions of a file are stored using the Preferences Dialog