careful7j
careful7j

Reputation: 859

Eclipse IDE set up only methods of class be visible in package explorer

Eclipse IDE. When I click on java class file in package explorer, it opens (unfolds) inside of package explorer and I can see the list of classes, methods and variables (fields) which are in this class. My question is - can I set it up this way: to only Methods be visible (no fields in the list)?. It could really help with navigation inside big classes. I am sorry, too much trash results in google.

Image representation of what i want

Upvotes: 1

Views: 1199

Answers (3)

DevPlayer
DevPlayer

Reputation: 5569

The Package Explorer in the Eclipse Luna 4.4.0 on Microsoft Windows XP replaced Filters... option with a Customize View.. option.

The Package Explorer Dropdown menu

Eclipse Version

Upvotes: 1

careful7j
careful7j

Reputation: 859

Thank you! I have found it here (in Eclipse Luna 4.4.0): enter image description here

Now when "fields" are marked they are no longer visible in class list.

Upvotes: 2

DavidPostill
DavidPostill

Reputation: 7921

From Java Element Filters Dialog :

This dialog lets you define Java element filters for the Package Explorer view and other Java views.

There should be a "Filters..." toolbar button to open this dialog ...

Upvotes: 1

Related Questions