PhpStorm 2017.3 Help

Configuring Include Paths

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 PhpStorm | 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: 29 March 2018

See Also