Besides navigating through your local changes within a file in the editor, you can view and examine these changes compared to the base revision of the file.

This functionality is provided through a dedicated Change Details pane in the Local tab of the Changes tool window.

change_details_pane.png

The pane consists of two areas: The pane can be split horizontally or vertically.

In each area, PyCharm numbers both changes themselves (4) and the lines (3) affected by them. The changes introduced to the code are color-coded:

A special toolbar (8) enables you to perform the following operations:

In this section:

  1. Open the Changes tool window (Alt+9), and then switch to the Local tab.
  2. Click the Change Details toggle button changes_tol_window_change_details_icon.png on the toolbar. The Change Details pane opens.

    The Change Details toggle button changes_tol_window_change_details_icon.png remains pressed until the pane is closed.

  1. Open the Changes tool window (Alt+9), and then switch to the Local tab.
  2. Select the file in question, and then open the Change Details pane, if it is not opened. The base revision and the local version of the selected file are opened with the differences numbered and highlighted.
  3. Examine the details of each change:

See Also

Reference:

Version Control:

Web Resources: