Comparing

The Workbench allows for the comparison of multiple resources and for the presentation of the results in a special compare editor.

Setup

Before commencing with compare a few files must be created. This will also be a good time to recap some of the basic features that have already been introduced.

  1. Start by selecting all of the projects in one of the navigation views and deleting them by using Delete on the pop-up menu.

  2. Create a new simple project using File > New > Project. Be sure to give the project a distinct name by typing unique name as the name of the new project.

  3. Use the project's pop-up menu to create a file called file1.txt.

    In the editor for file1.txt type the following lines of text and save the file:

    This is line 1.
    This is line 2.
    This is line 3.
    This is line 4.
    This is line 5.

  4. In one of the navigation views select file1.txt and use Ctrl+C to copy the file.

  5. Use Ctrl+V (Paste) to create the copy. In the name conflict dialog which appears, rename the file to file2.txt.

(On the Mac, use ⌘+C and ⌘+V.)

There are now two identical files, file1.txt and file2.txt.