Reputation: 273452
The list of jars just takes up too much space. Can I collapse it or hide it?
Upvotes: 63
Views: 31631
Reputation: 3598
In the Project Explorer :
Libraries from external
Or in the Package Explorer :
Upvotes: 42
Reputation: 141
For Eclipse STS,
A quick work around to stop looking at your large list of jar files is to switch to Navigator view instead. For my purposes navigator works the same as project explorer. I tried adding a custom filter "*.jar" in project view however custom filters is unavailable in STS. Also Customize View... -> Filters tick "Libraries from external" is only for 3rd party jars, it doesn't work for custom jars in your project.
Upvotes: 0
Reputation: 24
In Eclipse Luna:
For hiding *.jar select Libraries from external.
For more info check: Eclipse help
Upvotes: 1
Reputation: 9
On Juno, see the "View menu" button on the left of the Project Explorer minimize button. Develop the menu and select the "Customize view" option. In the Filter tab, check the "Libraries from external" option. That's all.
Upvotes: 0
Reputation: 334
Works for eclipse 3 and 4 in the project explorer and package explorer views.
Hey here is how it works:
There you go.
Upvotes: 2
Reputation: 3728
In Eclipse 3.7
Upvotes: 6
Reputation: 81
Project Explorer > [Down Arrow Icon] > Customize View > Choose the options which you want to exclude to see in the explorer
Upvotes: 1
Reputation: 51
In Eclipse3.5
Upvotes: 5
Reputation: 11
Go the library Tab of Java Build Path, Add Variable (add a variable name and library folder location).
Once the variable is added, click on extend, you will see all the jars. Select all of them (or whatever is needed) and click ok. Exit the build path dialog box by clicking ok.
This will remove all the jars from your project view.
Upvotes: 1
Reputation: 371
In Eclipse3.5, select the filter "libraries from external" in "customize view".
Upvotes: 37
Reputation: 19783
I believe that Eclipse 3.4.2 places jars under "Referenced Libraries" node which is collpasable. What version do you use?
Upvotes: 1