PyCharm 2017.2 Help

File Status Highlights

Introduction

In PyCharm each file has its own status marked with a specific color. The file status denotes correspondence of the actual file content with the one marked as 'current'.

In the editor, each line in a file is checked whether it corresponds to the state at the 'current' point and marked with a specific color at the left gutter area.

You can customize the default colors:

  • For files - in the File Status page of the Color Scheme settings.
  • For the lines in the editor - in the VCS page of the Color Scheme settings.

File Status in views

ColorFile StatusDescription
BlackUp to dateFile is unchanged.
/help/img/idea/2017.2/highlightBlackTxt.GIF
Gray DeletedFile is scheduled for deletion from the repository.
/help/img/idea/2017.2/highlightGrey.gif
Blue ModifiedFile has changed since the last synchronization.
/help/img/idea/2017.2/highlightBlueTxt.GIF
Green AddedFile is scheduled for addition to the repository.
/help/img/idea/2017.2/highlightGreenTxt.GIF
Violet MergedFile is merged by your VCS as a result of an update.
/help/img/idea/2017.2/highlightVioletTxt.GIF
Brown UnversionedFile exists locally, but is not in the repository, and is not scheduled for adding.
/help/img/idea/2017.2/highlightBrown.gif
Olive IgnoredFile will be ignored in any VCS operation.
/help/img/idea/2017.2/highlightOlive.gif
Light brown HijackedFile is modified without checkout. This status is valid for the files under Perforce, ClearCase and VSS.
hijacked
Red Merged with conflictsDuring the last update, file was merged with conflicts.
/help/img/idea/2017.2/highlightRedTxt.GIF
Lilac Externally deletedFile is deleted locally, but was not scheduled for deletion, and still exists in the CVS repository.
/help/img/idea/2017.2/highlightLilac.gif
Dark cyan SwitchedThe file is taken from a different branch than the whole project. This status is valid for CVS and SVN.
/help/img/idea/2017.2/highlightCyanTxt.GIF

Line Status in the editor

ColorFile StatusDescription
/help/img/idea/2017.2/gutterBlue.png ModifiedDenotes the lines modified since the last synchronization.
/help/img/idea/2017.2/gutterGreen.png AddedDenotes the lines added since the last synchronization.
/help/img/idea/2017.2/gutterGray.png DeletedDenotes the lines removed since the last synchronization.

See Also

Last modified: 9 August 2017