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.

Color File Status Description
Color sample: dark green #0A7700 Added The file in the active changelist is scheduled for addition to the repository.
Color sample: green #0EAA00 Added 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 #FF0000 Changelist 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 #0A7700 Copied If a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: grey #616161 Deleted The file is scheduled for deletion from the repository.
Color sample: dull purple #773895 Deleted 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 #8AA4C8 Have 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 #3264B4 Have 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 #B28C00 Hijacked [Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: dark olive #727238 Ignored A file is intentionally untracked by VCS.
Color sample: purple #7503DC Merged The file is merged by your VCS as a result of an update.
Color sample: red #FF0000 Merged with conflicts During the last update, the file has been merged with conflicts.
Color sample: red #FF0000 Merged 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 #FF0000 Merged 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 #0032A0 Modified The file has changed since the last synchronization.
Color sample: blue #0047E4 Modified 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 #7C7C00 Obsolete The file should no longer be in your working copy of the repository.
Color sample: teal #007C7C Renamed Since the last update, the file has been renamed.
Color sample: dark cyan #08978F Switched [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 date The file hasn't been changed.
Color File Status Description
Color sample: dull green #629755 Added The file in the active changelist is scheduled for addition to the repository.
Color sample: dull green #629755 Added 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: dull red #D5756C Changelist 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: green #0A7700 Copied If a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: grey #6C6C6C Deleted The file is scheduled for deletion from the repository.
Color sample: dull purple #6C6C6C Deleted 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 blue #6897BB Have 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: light blue #6897BB Have 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: white None (default color) Hijacked [Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: light olive #848504 Ignored A file is intentionally untracked by VCS.
Color sample: light purple #9876AA Merged The file is merged by your VCS as a result of an update.
Color sample: dull red #D5756C Merged with conflicts During the last update, the file has been merged with conflicts.
Color sample: dull red #D5756C Merged 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: dull red #D5756C Merged 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: light blue #6897BB Modified The file has changed since the last synchronization.
Color sample: light blue #6897BB Modified 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: white None (default color) Obsolete The file should no longer be in your working copy of the repository.
Color sample: strong cyan #3A8484 Renamed Since 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) Unversioned The file exists locally, but is not in the repository, and is not scheduled for addition.
Color sample: white None (default color) Up to date The file hasn't been changed.
Color File Status Description
Color sample: green #62CC47 Added The file in the active changelist is scheduled for addition to the repository.
Color sample: green #62CC47 Added 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: dull red #FF6666 Changelist 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: green #62CC47 Copied If a file is a copy of another file, its metadata is tracked, and such a file is marked as copied.
Color sample: orange #ED864A Deleted The file is scheduled for deletion from the repository.
Color sample: orange #ED864A Deleted 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: vivid cyan #4FF0FF Have 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: vivid cyan #4FF0FF Have 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: white None (default color) Hijacked [Perforce, ClearCase, VSS] The file is modified without checkout.
Color sample: light olive #A9B837 Ignored A file is intentionally untracked by VCS.
Color sample: light purple #ED94FF Merged The file is merged by your VCS as a result of an update.
Color sample: dull red #FF6666 Merged with conflicts During the last update, the file has been merged with conflicts.
Color sample: dull red #FF6666 Merged 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: dull red #FF6666 Merged 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: vivid cyan #4FF0FF Modified The file has changed since the last synchronization.
Color sample: vivid cyan #4FF0FF Modified 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: white None (default color) Obsolete The file should no longer be in your working copy of the repository.
Color sample: vivid cyan #4FF0FF Renamed Since 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) Unversioned The file exists locally, but is not in the repository, and is not scheduled for addition.
Color sample: white None (default color) Up to date The 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.

Color Line Status Description
Color sample: light blue #C3D6E8 Modified lines Lines that have been modified since the last update.
Color sample: light orange #EDDCBC Whitespace-modified lines Lines in which only whitespaces have been modified since the last update.
Color sample: light green #C9DEC1 Added lines Lines that have been added since the last update.
Grey triangle #9F9F9F Deleted lines Lines that have been removed since the last update.
Color Line Status Description
Color sample: dark grayish blue #374752 Modified lines Lines that have been modified since the last update.
Color sample: dark grayish orange #4C4638 Whitespace-modified lines Lines in which only whitespaces have been modified since the last update.
Color sample: dark grayish green #384C38 Added lines Lines that have been added since the last update.
Grey triangle #656E76 Deleted lines Lines that have been removed since the last update.
Color Line Status Description
Color sample: blue #1AABFF Modified lines Lines that have been modified since the last update.
Color sample: grey #666666 Whitespace-modified lines Lines in which only whitespaces have been modified since the last update.
Color sample: green #009924 Added lines Lines that have been added since the last update.
Orange triangle #FFA14F Deleted lines Lines that have been removed since the last update.
Last modified: 21 October 2020