IntelliJ IDEA 13.1 Web Help

Besides file history, you can track local changes for a class,its elements, or selected block of source code. This history shows only those changes that affect the selected element or code fragment.

To view local history of a class
  1. Select a class file in the project tool window, or right-click class name in the editor.
  2. On the main VCS menu, or on the context menu of the selection, choose Local History | Show History for Class.
To view local history of a method or field
  1. In the editor, place the caret at the name of the desired method or field.
  2. On the main VCS menu, or on the context menu of the selection, choose Local History | Show History for Method (Field).
To view local history of a source code block
  1. In the editor, select a fragment of source code.
  2. Do one of the following:
    • On the main VCS menu, or on the context menu of the selection, choose Local History | Show History for Selection.
    • Press Alt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteAlt+Back QuoteControl VControl VControl V, and choose the desired command from the VCS Operations quick list.

See Also

Concepts:

Web Resources: