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 the Settings dialog (CtrlAlt0S), click Directories.
On the Directories page, click the Add Content Root button
.
In the dialog that opens, locate the desired directory and click OK.
In the Settings dialog (CtrlAlt0S), click Directories.
On the Directories page, select the content root that you want to delete.
Click the Remove button
and confirm removal.
You can make files and folders excluded by specifying the name patterns. Use the Exclude files field to specify the patterns.

note
The files and folders whose names match at least one of the specified patterns are made excluded. Folders are excluded along with all their contents.
Thanks for your feedback!