PhpStorm 2021.2 Help

Database color settings dialog

In the Database tool window (View | Tool Windows | Database), right-click any object (for example, a table or a data source) and select Color Settings.

Select the color, and specify how this color should be used (see Database color settings dialog and Database color settings dialog). Use the checkboxes in the Appearance Settings section to enable or disable the database colors in various places in the user interface.

Item

Description

Color

Click the color that you want to use for the element or elements selected in the Database tool window.

If the color that you want is missing, click Custom and specify the color in the dialog that opens.

The color which is currently selected is marked with its name. Blue.

db colors

If you don't want to use any color, click Database color settings dialog.

Shared

Select the checkbox if you want to share the change of color you are about to make with your team. The database color settings are shared through version control.

The new color for the selected element or elements will be stored in the following files:

  • .idea/databaseColors.xml or the .ipr file if the checkbox is selected.

  • .idea/workspace.xml or the .iws file if the checkbox is not selected.

The workspace.xml or the .iws file, normally, is not shared through version control while the rest of PhpStorm configuration files are.

For more information on PhpStorm configuration files and their sharing, see Creating and Managing Projects.

Override recursively

If the checkbox is selected, the selected color will be applied to the element itself and all its subordinate elements recursively.

If the checkbox is not selected, the colors set individually for the subordinate elements won't change.

Enable database colors

Clear the checkbox to disable the database colors everywhere in the user interface.

In Database tool window

Select the checkbox to apply a color to the database node.

By default, database nodes have the following colors.

colors are disable

When this option is on, database nodes have the color that you have selected.

colors are enables

In editor tabs

Select the checkbox to use the database colors for editor tabs.

By default, tabs have the following colors.

editor colors are disabled

When this option is on, the tabs have the same color as the corresponding data source or table.

editor colors are enables

In console editors and grids

Select the checkbox to use the database colors for the editing area in database consoles and data editors.

By default, the editing area has the following colors.

editor colors are disabled

When this option is on, the background of the editing area has the same color as the corresponding data source.

editor colors are enables

In toolbars

Select the checkbox to use the database colors for the toolbars of database consoles and data editors.

By default, the toolbar has the following colors.

editor colors are disabled

When this option is on, the toolbar background has the same color as the corresponding data source.

editor colors are enables

No Color

Reset all color settings for the selected element.

Last modified: 05 October 2021