PhpStorm 2016.2 Help

Colors and Fonts

File | Settings | Editor | Colors and Fonts for Windows and Linux
PhpStorm | Preferences | Editor | Colors and Fonts for OS X
Ctrl+Alt+S
settings


On this page:

Scheme

Use this section to select the Colors and Fonts scheme. PhpStorm suggests several pre-defined schemes, one of them being the default.

ItemDescription
Scheme nameFrom this drop-down list, select the Colors & Fonts scheme to use in your workspace. When a non-default scheme is selected, the node name changes its color to blue.
Save AsClick this button to save the currently selected Colors & Fonts settings as a new scheme. After saving, the scheme settings become editable.
DeleteClick this button to delete the current scheme.

Scheme settings

Use the corresponding pages to change font type, colors and highlighting for the supported languages, consoles, debugger, version control, differences viewer, file statuses, and scopes. Note that besides color settings, highlighting is determined by your Inspection Profile. For example, if you do not want unused symbols to be highlighted, turn off the Unused Symbol inspection in the profile being used.

Choose specific nested page, and configure as required.

PageDescription
Font Use this page to define the family of the font to be used in the editor, its size, and line spacing.

In the Editor Font area you can configure primary and secondary fonts, their size and line spacing.

Change the following options:

  • Show only monospaced fonts - By default, this check box is selected and the Primary font list will show only monospaced fonts. To choose among all the fonts available in the system, clear this check box.

    If an entered character cannot be displayed in the current font, the closest match is used.

  • Primary font list shows the selection of all the fonts, detected on the computer.
  • Secondary font list shows the selection of fonts, which will be used if PhpStorm fails to use a primary one.
  • Enable font ligatures: select this check box to show the typographic ligatures. Note that this feature depends on the selected fonts.
GeneralUse this page to customize the font type and colors for the editor textual components, specified in the list.
Console ColorsUse this page to define the colors to be used in the run or debug console (see Run Tool Window , Debug Tool Window. Console ).
Console FontUse this page to define the family of the font to be used in the run or debug console, its size, and line spacing (see Run Tool Window , Debug Tool Window. Console ).

In the Console Font area you can configure primary and secondary fonts, their size and line spacing.

Change the following options:

  • Show only monospaced fonts - By default, this check box is selected and the Primary font list will show only monospaced fonts. To choose among all the fonts available in the system, clear this check box.

    If an entered character cannot be displayed in the current font, the closest match is used.

  • Primary font list shows the selection of all the fonts, detected on the computer.
  • Secondary font list shows the selection of fonts, which will be used if PhpStorm fails to use a primary one.
  • Enable font ligatures: select this check box to show the typographic ligatures. Note that this feature depends on the selected fonts.
  • Apply editor font settings: click this button to apply editor font settings to the console fonts.
CustomUse this page to customize the font type and colors in user-defined file types , in particular, for custom keywords highlighting.
VCSUse this page to customize the colors of the left gutter markers and VCS annotations. To change color of any VCS component, click the corresponding color swatch to show the Color Picker dialog, and select the desired color.
File StatusUse this page to customize font type and colors to visually denote the current file status with regards to a VCS repository.
By ScopeUse this page to customize colors and highlighting for class members assigned to various scopes.

To edit a scope, click the Edit Scopes button below the pane with a list of existing scopes. The Scopes dialog box opens.

Languages and PhpStorm componentsUse these pages to customize font type and colors for the corresponding file types and the PhpStorm components.

See Also

Last modified: 24 November 2016