WebStorm 2017.2 Help


File | Settings | Directories for Windows and Linux
WebStorm | Preferences | Directories for macOS

Use this dialog box to configure content roots of a project.

addRoot.png Add Content RootClick this button and select a new content root folder in the dialog that opens.
web_ide_remove_content_root.png Remove Content EntryClick this button to have the selected root removed from the list.
root_Test.png TestsClick this button to mark the selected folder as a test root.
rootExcluded.gif Excluded Click this button to mark the selected folder as excluded so WebStorm ignores it during indexing, parsing, and code completion.
rootResource.png Resource Root Click this button to enable WebStorm to complete relative paths to resources under the selected folder.
Exclude files In this field, type the masks that define the names of files and folders to be excluded, for example, *.min.js. Use semicolons as separators.
If the name of a file matches any of these patterns, the file is treated as excluded. If the name of a folder matches a pattern, all the files in this folder and in its subfolders are marked as excluded.
Last modified: 29 November 2017

See Also