IntelliJ IDEA 2017.2 Help

Configuring Include Paths

This feature is supported in the Ultimate edition only.

Include paths are used for code completion and reference resolution in some functions/methods that use file paths as arguments, for example, require() or include().

To configure include paths:

  1. Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for macOS, and click PHP under Languages & Frameworks.
  2. On the PHP page that opens, configure the list of include paths in the Include path area:
    • Use the new.png  and delete.png buttons to add and remove paths.
    • Use the /help/img/idea/2017.2/arrowUp.png  and /help/img/idea/2017.2/arrowDown.png  buttons to change the order of items in the list.
    • Press the sortedAlphabetically@2x.png toogle button to have the paths sorted alphabetically in the ascending order.
Last modified: 30 August 2017