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/Preferences dialog (Ctrl+Alt+S), click Directories.
On the Directories page, select the content root to be deleted.
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.