PhpStorm 2024.2 Help

File Colors

Use this page to set colors for distinguishing project files of specific scopes.

File colors
Configuring file colors in Settings

Item

Description

Enable file colors

Select this checkbox to enable the feature.

Use in editor tabs

Enable colors in editor tabs.

Use in project view

Enable colors in the Project tool window and in search results (for example, in the Find in Files dialog Ctrl+Shift+F).

Manage scopes

Click this button to define the required scopes.

Configure colors

Similarly to scopes, color associations can be local and shared.

  • Local colors are only visible to you and are not shared through VCS.

  • Shared colors are placed under version control so that people who work on a project can use the same color associations. They are stored in the project folder under .idea in the fileColors.xml file (for example: MyProject/.idea/fileColors.xml).

Item

Tooltip

Description

the Add button

Add

Open a list with the available scopes. Click the right arrow button next to the necessary scope in the list and select a color.

the Remove button

Remove

Remove the selected color-scope association.

the Move up button/the Move down button

Up / Down

Sort the color-scope associations and change the order in which they are applied.

Share through VCS

Share the selected local scope through VCS.

Apply the changes and close the dialog. After that you will see colors in the selected areas in the interface:

Last modified: 05 September 2024