Slick V3.3 manual Comparing Two Files, Comparing Symbols or Parts of Files

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 331
Image 331

DIFFzilla®

Comparing Two Files

To diff two source files, complete the following steps:

1.From the main menu click Tools File Difference, or use the diff command. The DIFFzilla® dialog appears, as pictured below.

Figure 8.1. DIFFzilla® Dialog

2.Under Diff Type, select the Text Compare option.

3.Enter the name of the first file to compare in the Path 1 text box. Enter the name of the second file in the Path 2 text box. If the file names only differ by path, you only need to specify the path for Path 2.

4.Click OK.

Alternatively, you can use DIFFzilla to diff files from several Eclipse views, including the Package Explorer and the Project Explorer:

1.From the Eclipse view, select the two files that you want to diff and right-click.

2.From the Compare With submenu, click Each Other (DIFFzilla).

Comparing Symbols or Parts of Files

DIFFzilla® provides the ability to diff (compare) a selected range of lines from two files or the same file. This is very useful for comparing a piece of code that has been moved into a different part of a different

309

Page 331
Image 331
Slick V3.3 manual Comparing Two Files, Comparing Symbols or Parts of Files