Previous Topic: Set General PreferencesNext Topic: Set Network Connections Preferences


Set Compare Preferences

The Compare/Patch dialog lets you set preferences for text compare sessions.

To set compare preferences

  1. Click Window, Preferences, General, Compare/Patch.

    The Compare/Patch page appears.

  2. Select the General preferences that you want to use for your compare sessions:
    Open structure compare automatically

    Automatically performs a structure compare whenever a content compare is done.

    Show structure compare in Outline view when possible

    Displays an outline of a structured file that is currently open in the editor area, and lists structural elements.

    Show additional compare information in the status line

    Shows additional information about a change in the status line.

    Ignore white space

    Does not show white-space changes in the compare viewer.

    Automatically save dirty editors before browsing patches

    Controls whether any unsaved changes are automatically saved before a patch is applied. Select this option if you want to save changes automatically.

    Filtered Members

    Excludes members from Compare With Each Other.

    Note: Names in a list must be separated with a comma.

  3. Click the Text Compare tab, and select options:
    Synchronize scrolling between panes in compare viewers

    Keeps identical and corresponding portions of the code in each pane of the comparison viewer side-by-side.

    Initially show ancestor pane

    Compares two versions of a resource with the previous version from which they were both derived. This previous version is called their common ancestor, and it appears in its own comparison pane during a three way compare. Turn this option on if you want the ancestor pane to always appear at the start of a comparison.

    Show pseudo conflicts

    Displays pseudo conflicts, which occur when two developers make the same change (for example, both add or remove the exact same line of code or comment).

    Connect ranges with single line

    Controls whether differing ranges are visually connected by a single line or a range delimited by two lines.

    Highlight individual changes

    Highlights differences between each change in the compared files.

    Click OK.

    The Compare preferences are set.