This functionality is only available for certain module packages.

Preferences for Project Explorer

Path to the preferences:

Menu Window > Preferences

Dialog Preferences > Unit Explorer > Project Explorer