Showing and hiding members
Several Java views (e.g. Outline, Package Explorer, Members) offer filtering of members (fields, types and methods). The filters are available as toolbar buttons or as view menu items, depending on the view. There are 3 member filters:
- Hide Fields: when activated, this filter causes all fields to be removed from the view.
- Hide Static Members: when activated, this filter causes all static members to be removed from the view.
- Hide Non-Public Members: when activated, this filter causes all non-public members to be removed from the view.
Additionally, the Package Explorer can display or hide all elements inside compilation units.
To show members in the Package Explorer:
- Select the Show members in Package Explorer checkbox in the Window > Preferences > Java > Appearance page.
To hide members in the Package Explorer:
- Clear the Show members in Package Explorer checkbox in the Window > Preferences > Java > Appearance page
Showing and hiding elements
Filtering elements