IntelliJ IDEA 2017.3 Help

Configuring Include Paths

This feature is only supported in the Ultimate edition.

The following is only valid when PHP Plugin is installed and enabled!

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 arrowUp  and arrowDown  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: 6 March 2018