PhpStorm 2018.1 Help

Setting Background Image

PhpStorm allows you to define any image as a background. You can set a background image for the current project only, or for any project you open or create anew.

This feature has no keyboard shortcut (you can easily create a shortcut as described in the section Configuring Keyboard Shortcuts).

To set a custom background image:

  1. Do one of the following:
    • Press Shift twice (see Searching Everywhere), or press Ctrl+Shift+A (see Navigating to Action), and type Set background image in the search field.
    • In the Settings/Preference dialog (Ctrl+Alt+S), select Appearance & Behavior | Appearance and click the Background Image button.
  2. In the dialog box that opens, specify the image you want to use as the background, its opacity, filling and placement options. Besides that, you can choose to show background in the editor and tool windows, or in the PhpStorm frame.

    Also, select the This project only checkbox to show background in the current project, and ignore this background in the other projects.

    background image

If an image is already selected in a project, the Set Background Image action is also available from the context menu of the Project tool window and in the image editor.

Last modified: 13 February 2018

See Also