PyCharm 2016.1 Help

Database Color Settings Dialog

From the Database tool window:
Select the element or elements of interest, and select Color Settings from the context menu.


Select the color, and specify how this color should be used (see Shared and Set recursively). Use the check boxes in the Appearance Settings section to enable or disable the use of the database colors in various places in the UI.

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, e.g. Blue.

DBColorsColor

If you don't want to use any color, click No Color.

Shared Select the check box 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.)

In technical terms, the new color (for the selected element or elements) will be stored in

  • .idea/databaseColors.xml or the .ipr file if the check box is selected.
  • .idea/workspace.xml or the .iws file if the check box is not selected.

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

For more information on PyCharm configuration files and their sharing, see Project.

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

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

Appearance Settings
Enable database colors Clear the check box to (temporarily) disable the use of the database colors everywhere in the UI.
Use in editor tabs Select the check box to enable the use of the database colors for editor tabs (when working with the input pane of the database console and the table editor).

When this option is off, the tabs look like this:

DBColorsEditorConsoleOff

When this option is on, the tabs have the same color as the corresponding data source or table (e.g. blue):

DBColorsEditorOn
Use in database view Select the check box to enable the use of the database colors in the Database tool window.

When this option is off, the tool window looks like this:

DBColorsDBOff

When this option is on, the tool window may look as shown below. (In this example, the blue color is set for the corresponding data source.)

DBColorsDBOn
Use in toolbars Select the check box to use the database colors to paint the background of the toolbars in the input pane of the database console and the table editor.

When this option is off, the toolbar looks like this:

DBColorsEditorConsoleOff

When this option is on, the toolbar background has the same color as the corresponding data source (e.g. blue).

DBColorsConsoleOn
No Color Click this button, if you don't want to use any color for the selected element or elements.
Last modified: 20 April 2016