IntelliJ IDEA 13.1 Web Help

VCS | Show Changes View - Local

View | Tool Windows | Changes - Local

Local tab shows the files that have been modified locally and have not been committed to the repository yet.

Use this tab to commit and revert changes, manage changelists, view differences, view changes in UML Class diagram, and clean up locked folders.

Item Tooltip and Shortcut Description
refresh Refresh Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Command RControl F5Command R
  • When working under Perforce control, click this button to refresh the status of files in your workspace taking into consideration only the changes made through the IntelliJ IDEA integration with Perforce. This improves performance because does not require connecting to the server. However, this approach does not let you know about the changes made outside IntelliJ IDEA, for example, right through the p4v client application.

    To have all the changes to your workspaces reflected, use Force Refresh.

  • For all version control systems different from Perforce, click this button to have the status of files in your workspace refreshed with regard to all the changes made to them, both from IntelliJ IDEA and from any other application.

Click this button to refresh the status of files in your workspace.

perforceChangesToolWindowForceRefresh.png Force Refresh

Note

The button is only available if the Perforce integration is used in the current project.

Click this button to have the status of files in your workspace refreshed with regard to all the changes made to them, both from IntelliJ IDEA and from any other application, for example, right through p4v client.

icon_Commit Commit Changes Click this button to check in the selected change or changelist. You can also attach and detach Perforce jobs to changelists via Commit Changes dialog.
rollback.png Revert Click this button to roll back the selected changes.
img New Changelist Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter Click this button to create a new changelist.
img Delete Changelist DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDeleteDelete or BackspaceDeleteDelete or Backspace Click this button to delete the selected changelist. Note that you cannot delete the default changelist.
img Set Active Changelist Click this button to make the selected changelist active. The active changelist is highlighted.
moveChangelistItems Move to Another Changelist F6F6F6F6F6F6F6Ctrl+MShift+Alt+VF6F6Alt Command V Click this button to move the selected item to another changelist.
img Show Diff Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DCommand DCommand DCommand D Click this button to show differences between your local version and the latest version in the repository.
9.0+ icon_UML.png Ctrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DCtrl+Shift+Alt+DShift Alt Command DShift Alt Command DShift Alt Command D Use this button to show classes from the selected changelist in a UML Class diagram. See section Viewing Changes as Diagram.
expandAll.png collapseAll.png Ctrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCtrl+NumPad+ or Ctrl+EqualsCommand NumPad or Command EqualsCommand NumPad or Command EqualsCommand NumPad or Command Equals
Ctrl+NumPad-
Click these buttons to expand or collapse all nodes.
img Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCommand PCommand PCommand P Click this button to display the changed files grouped by directories. If the button is released, the changed files are grouped by changelists.
copy Ctrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Click this button to copy the path to the selected file to the Clipboard.
showIgnoredFiles Show Ignored Files Click this button to show Ignored files node with the list of existing files, ignored by VCS.
img Configure Ignored Files Click this button to configure the list of files that should be ignored by your version control system.
previewUsages Preview Diff Click this button to have IntelliJ IDEA open or close Change Details pane to compare the current file with the latest committed revision.
img F1F1F1F1F1F1F1F1F1ContextHelpF1ContextHelp Click this button to show context reference page.

Change details pane

The pane opens when you click the Change Details button previewUsages  on the toolbar. In this pane, examine the changes made to the selected file compared to the base revision.

The pane consists of two areas:

  • The affected code as it was in the base revision.
  • The affected code as it is after the change is introduced.
The pane can be split horizontally or vertically.

In each area, IntelliJ IDEA numbers both changes and the lines involved in them.

To close the pane, click the Change Details button previewUsages once more.

Item Tooltip and Shortcut Description
expandAll.png More/Less Lines Click this button to open a slider and specify the number of lines to be shown above and below the updated code fragment at the caret.
arrowDown.png arrowUp.png Next/previous change Click this button to move to the next/previous updated piece of code.
edit Jump to Source Click this button to open selected file in the editor, with the line in the Change Details pane, where the caret currently rests, having the focus in the editor.
projectToolWindowSettingsIcon.png Settings Click this button to show the list of options that define the appearance of the pane:
  • Top/Bottom: Select this option to have the pane split horizontally, so the base revision is shown in the upper part and the locally updated version is shown in the bottom part of the pane.
  • Left/Right: Select this option to have the pane split vertically, so so the base revision is shown in the left-hand part and the locally updated version is shown in the right-hand part of the pane.
  • Use soft wraps: Select this option to have the soft wraps (or word wraps) used.

See Also

Concepts:

Procedures:

Version Control:

Web Resources: