PhpStorm 2019.3 Help

Configuring content roots

Any project contains at least one content root created together with the project. You can create additional content roots as well as remove the unnecessary ones.

Create a content root

  1. In the Settings/Preferences dialog Ctrl+Alt+S, click Directories.

  2. On the Directories page, click the Add Content Root button Add Content Root.

  3. In the dialog that opens, locate the desired directory and click OK.

Remove a content root

  1. In the Settings/Preferences dialog Ctrl+Alt+S, click Directories.

  2. On the Directories page, select the content root that you want to delete.

  3. Click the Remove button Remove content root and confirm removal.

    Remove content root

Excluding files and folders by name patterns

You can make files and folders excluded by specifying the name patterns. Use the Exclude files field to specify the patterns.

Exclude by name pattern
Last modified: 2 December 2019