PyCharm 2016.1 Help

Colors and Fonts

File | Settings | Editor | Colors and Fonts for Windows and Linux
PyCharm | 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. PyCharm suggests several pre-defined schemes, one of them being the default.

    Note that the selected scheme applies to editor only!

  • Scheme settings: use the corresponding pages to change font type, colors and highlighting for the supported languages, consoles, Debugger, 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.

Scheme

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

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.

The options in the Editor Font section can be modified in the editable schemes only. For the default schemes all the controls are disabled.
You can edit the following options:

  • Show only monospaced fonts - By default, this check box is selected and the Primary font list will show only mono spaced fonts. To choose among all fonts available in the system, clear the Show only monospaced fonts 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 PyCharm fails to use a primary one.

Use the arrow icons to make up the list of primary fonts, and define the order of secondary fonts.

GeneralUse this page to customize the font type and colors for the editor textual components, specified in the list.
Console FontUse this page to define the family of the font to be used in the console, its size, and line spacing.

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

The options in the Editor Font section can be modified in the editable schemes only. For the default schemes all the controls are disabled.
You can edit the following options:

  • Show only monospaced fonts - By default, this check box is selected and the Primary font list will show only mono spaced fonts. To choose among all fonts available in the system, clear the Show only monospaced fonts 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 PyCharm fails to use a primary one.

Use the arrow icons to make up the list of primary fonts, and define the order of secondary fonts.

Supported languages, frameworks, and PyCharm components Use these pages to customize font type and colors for the corresponding file types and the PyCharm components.
CustomUse this page to customize the font type and colors in user-defined file types, in particular, for custom keywords highlighting.
File StatusUse this page to customize font type and colors to visually denote the current file status with regards to a VCS repository.
Scope BasedUse 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.

See Also

Last modified: 20 April 2016