The easiest option is to use the Add to Favorites action to add the module or directory to your favorites. Then only the module / directory and its children will be displayed in the Favorites list.
Another option is to configure the area in the settings | Appearance and behavior | Areas and switch to representing this area in the Project view. This is harder to tune than favorites, but also more flexible and less cluttered.
source share