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
Remove a content root
In the Settings dialog (Control+Alt+S), click Directories.
On the Directories page, select the content root that you want to delete.
Click the Remove button and confirm removal.
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.