WebStorm 11.0 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.

In this section:

Creating a content root

  1. Open the Settings / Preferences Dialog by choosing File | Settings for Windows and Unix or WebStorm | Preferences for OS X, and click Directories under Project:<project name>.
  2. On the Directories page, click the Add Content Root button addRoot.
  3. In the dialog that opens, locate the desired directory and click OK.

Removing a content root

  • Open the Settings / Preferences Dialog by choosing File | Settings for Windows and Unix or WebStorm | Preferences for OS X, and click Directories under Project:<project name>.
  • On the Directories page, select the content root to be deleted.
  • Click the Remove button web_ide_remove_content_root.
    ws_deleteContentRoot
  • Confirm deletion.

See Also

Last modified: 23 December 2015