Comparing Two Files in the IDE

See Also

  1. In the Filesystems window, select two files.

    Control-click on the second file to select it.

  2. Right-click and choose Tools and choose Diff from the contextual menu to run the diff command.

    By default, the graphical two-paned diff viewer displays the two files side by side with the differences highlighted.

  3. To change between the graphical diff viewer and the textual diff viewer, use the Visualizer combo box:

    Each time you change a setting in the Visualizer combo box, the diff command runs again with the new setting.

  4. To change between the built-in diff engine and the command-line diff engine, use the Engine combo box:

    Each time you change a setting in the Engine combo box, the diff command runs again with the new setting.

Configuring the Diff Viewer

You can change the default diff settings in the Options window.

To change diff viewer settings:

  1. Choose Tools and choose Options.
  2. In the Options window, expand IDE Configuration and expand  Server and External Tools Settings.
  3. To set your default diff engine and default diff visualizer, select the Diff Settings node.

    Expand the Diff and Merge Types node to set:

See Also
Comparing File Revisions Visually
Creating and Applying a Patch

Legal Notices