DataGrip 2020.3 Help

File Status Highlights

In DataGrip, each file is marked with a color according to its state in the version control you are using.

In the editor, each line in a file is checked for its version control state and is marked with a color in the gutter.

File status

If you want to change the default file status colors, go to Settings/Preferences | Version Control | File Status Colors.

ColorFile StatusDescription
Color sample: dark green #0A7700Added The file in the active changelist is scheduled for addition to the repository.
Color sample: green #0EAA00Added in not active changelist The file in an inactive changelist is scheduled for addition to the repository. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: red #FF0000Changelist conflict The file in an inactive changelist has been modified in the active changelist. In this case, a new dialog will open prompting you to resolve the changelist conflict. This file status is available if all options are enabled in Settings/Preferences | Version Control | Changelists.
Color sample: dark green #0A7700Copied If a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: grey #616161Deleted The file is scheduled for deletion from the repository.
Color sample: dull purple #773895Deleted from file system The file has been deleted locally, but hasn't been scheduled for deletion, and it still exists in the repository.
Color sample: light grayish blue #8AA4C8Have changed descendants If a file is modified, the IDE will recursively highlight all directories containing that file. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: bright blue #3264B4Have immediate changed children If a file is modified, the IDE will highlight its parent directory. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: light brown #B28C00Hijacked [Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: dark olive #727238Ignored A file is intentionally untracked by VCS.
Color sample: purple #7503DCMerged The file is merged by your VCS as a result of an update.
Color sample: red #FF0000Merged with conflicts During the last update, the file has been merged with conflicts.
Color sample: red #FF0000Merged with property conflicts During the last update, the IDE has detected differences between the properties of the local file and its server version.
Color sample: red #FF0000Merged with text and property conflicts Text and property conflicts happen when two or more developers modify the same lines of a file and the same file properties.
Color sample: bright navy #0032A0Modified The file has changed since the last synchronization.
Color sample: blue #0047E4Modified in not active changelist The file in an inactive changelist has been modified. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: Olive #7C7C00Obsolete The file should no longer be in your working copy of the repository.
Color sample: teal #007C7CRenamed Since the last update, the file has been renamed.
Color sample: dark cyan #08978FSwitched [SVN] The file is taken from a different branch than the whole project.
Color sample: brown #993300(Unknown) Unversioned The file exists locally, but is not in the repository, and is not scheduled for addition.
Color sample: black None (default color)Up to dateThe file hasn't been changed.
ColorFile StatusDescription
Color sample: dull green #629755AddedThe file in the active changelist is scheduled for addition to the repository.
Color sample: dull green #629755Added in not active changelistThe file in an inactive changelist is scheduled for addition to the repository. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: dull red #D5756CChangelist conflictThe file in an inactive changelist has been modified in the active changelist. In this case, a new dialog will open prompting you to resolve the changelist conflict. This file status is available if all options are enabled in Settings/Preferences | Version Control | Changelists.
Color sample: green #0A7700CopiedIf a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: grey #6C6C6CDeletedThe file is scheduled for deletion from the repository.
Color sample: dull purple #6C6C6CDeleted from file systemThe file has been deleted locally, but hasn't been scheduled for deletion, and it still exists in the repository.
Color sample: light blue #6897BBHave changed descendantsIf a file is modified, the IDE will recursively highlight all directories containing that file. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: light blue #6897BBHave immediate changed childrenIf a file is modified, the IDE will highlight its parent directory. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: white None (default color)Hijacked[Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: light olive #848504IgnoredA file is intentionally untracked by VCS.
Color sample: light purple #9876AAMergedThe file is merged by your VCS as a result of an update.
Color sample: dull red #D5756CMerged with conflictsDuring the last update, the file has been merged with conflicts.
Color sample: dull red #D5756CMerged with property conflictsDuring the last update, the IDE has detected differences between the properties of the local file and its server version.
Color sample: dull red #D5756CMerged with text and property conflictsText and property conflicts happen when two or more developers modify the same lines of a file and the same file properties.
Color sample: light blue #6897BBModifiedThe file has changed since the last synchronization.
Color sample: light blue #6897BBModified in not active changelistThe file in an inactive changelist has been modified. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: white None (default color)ObsoleteThe file should no longer be in your working copy of the repository.
Color sample: strong cyan #3A8484RenamedSince the last update, the file has been renamed.
Color sample: white None (default color)Switched[SVN] The file is taken from a different branch than the whole project.
Color sample: soft red #D1675A(Unknown) UnversionedThe file exists locally, but is not in the repository, and is not scheduled for addition.
Color sample: white None (default color)Up to dateThe file hasn't been changed.
ColorFile StatusDescription
Color sample: green #62CC47AddedThe file in the active changelist is scheduled for addition to the repository.
Color sample: green #62CC47Added in not active changelistThe file in an inactive changelist is scheduled for addition to the repository. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: dull red #FF6666Changelist conflictThe file in an inactive changelist has been modified in the active changelist. In this case, a new dialog will open prompting you to resolve the changelist conflict. This file status is available if all options are enabled in Settings/Preferences | Version Control | Changelists.
Color sample: green #62CC47CopiedIf a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: orange #ED864ADeletedThe file is scheduled for deletion from the repository.
Color sample: orange #ED864ADeleted from file systemThe file has been deleted locally, but hasn't been scheduled for deletion, and it still exists in the repository.
Color sample: vivid cyan #4FF0FFHave changed descendantsIf a file is modified, the IDE will recursively highlight all directories containing that file. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: vivid cyan #4FF0FFHave immediate changed childrenIf a file is modified, the IDE will highlight its parent directory. This status is available if the Show directories with changed descendants option is enabled in Settings/Preferences | Version Control.
Color sample: white None (default color)Hijacked[Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: light olive #A9B837IgnoredA file is intentionally untracked by VCS.
Color sample: light purple #ED94FFMergedThe file is merged by your VCS as a result of an update.
Color sample: dull red #FF6666Merged with conflictsDuring the last update, the file has been merged with conflicts.
Color sample: dull red #FF6666Merged with property conflictsDuring the last update, the IDE has detected differences between the properties of the local file and its server version.
Color sample: dull red #FF6666Merged with text and property conflictsText and property conflicts happen when two or more developers modify the same lines of a file and the same file properties.
Color sample: vivid cyan #4FF0FFModifiedThe file has changed since the last synchronization.
Color sample: vivid cyan #4FF0FFModified in not active changelistThe file in an inactive changelist has been modified. This file status is available if the Highlight files from non-active changelists option is enabled in Settings/Preferences | Version Control | Changelists.
Color sample: white None (default color)ObsoleteThe file should no longer be in your working copy of the repository.
Color sample: vivid cyan #4FF0FFRenamedSince the last update, the file has been renamed.
Color sample: white None (default color)Switched[SVN] The file is taken from a different branch than the whole project.
Color sample: soft red D1675A(Unknown) UnversionedThe file exists locally, but is not in the repository, and is not scheduled for addition.
Color sample: white None (default color)Up to dateThe file hasn't been changed.

Line status in the editor

If you want to change the default line status colors, go to Settings/Preferences | Editor | Color Scheme | VCS | Editor Gutter.

To disable the colors, go to Settings/Preferences | Editor | General | Highlight modified lines in gutter and clear the necessary checkboxes.

ColorLine StatusDescription
Color sample: light blue #C3D6E8Modified linesLines that have been modified since the last update.
Color sample: light orange #EDDCBCWhitespace-modified linesLines in which only whitespaces have been modified since the last update.
Color sample: light green #C9DEC1Added linesLines that have been added since the last update.
Grey triangle #9F9F9FDeleted linesLines that have been removed since the last update.
ColorLine StatusDescription
Color sample: dark grayish blue #374752Modified linesLines that have been modified since the last update.
Color sample: dark grayish orange #4C4638Whitespace-modified linesLines in which only whitespaces have been modified since the last update.
Color sample: dark grayish green #384C38Added linesLines that have been added since the last update.
Grey triangle #656E76Deleted linesLines that have been removed since the last update.
ColorLine StatusDescription
Color sample: blue #1AABFFModified linesLines that have been modified since the last update.
Color sample: grey #666666Whitespace-modified linesLines in which only whitespaces have been modified since the last update.
Color sample: green #009924Added linesLines that have been added since the last update.
Orange triangle #FFA14FDeleted linesLines that have been removed since the last update.
Last modified: 08 March 2021