Matt RaibleMatt Raible is a Web Architecture Consultant specializing in open source frameworks.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Eclipse Tips

From my Eclipse HowTo for Spring Live:

TIP: In order to clean up the project view in Eclipse, you can hide the files you don't need. First of all, make sure you're in the Java Perspective (Window → Open Perspective). Then click the little (down) arrow in the top right corner of the Package Explorer pane. Select Filters, check the "Name Filter Patterns" and type "*.jar" (no quotes) in the text field. Then in the list of elements, scroll down and check Referenced Libraries. Click OK to continue.

Another useful Eclipse trick is to use abbreviated package names. You probably won't need it on this project, but its nice on projects where you're inflicted with super.long.package.name.syndrome. Go to Window → Preferences → Java → Appearance. Check the "Compress all package names" checkbox and type "1." (no quotes) in the text field.

Want more tips? Ask Bill.

Posted in Java at Jul 23 2004, 04:02:39 PM MDT 16 Comments
Comments:

WOW. I've been cursing about those !@#! jar files uselessly obstructing my view in Eclipse for...a long time now. Thanks!

Posted by Will Gayther on July 25, 2004 at 04:00 PM MDT #

Thanks. Those two tips just made my eclipse user interface usable again

Posted by Mark Henle on March 17, 2006 at 08:06 PM MST #

Hi I too was facing problem. It solved my problem Thanks.

Posted by Yogesh on August 24, 2006 at 05:24 AM MDT #

Kicken A**! Thanks dude. I will finally switch from the resource view to the Java view. Thank you, thank you, thank you!

Posted by Aaron on November 04, 2006 at 01:16 PM MST #

I owe you a beer, OK, a case of beer, no, a case of vintage wine. - Nick

Posted by Nick Sophinos on March 29, 2007 at 04:53 AM MDT #

gee, and all those .erks at eclipse leave all this .hit all this time to clog the view. All these monies spent on eclipse for what? nothing. so far i thought jdeveloper is the ..itiest of them all but now i see eclipse is number 1 in stupidity

Posted by navr on April 15, 2007 at 10:36 PM MDT #

gee, and all those .erks at eclipse leave all this .hit all this time to clog the view. All these monies spent on eclipse for what? nothing. so far i thought jdeveloper is the ..itiest of them all but now i see eclipse is number 1 in stupidity

Posted by navr on April 15, 2007 at 10:37 PM MDT #

is thr any way...we can achieve this a Java EE perspective. I wud really appreciate any help. thanks in advance.

Posted by scottr on September 17, 2007 at 09:24 AM MDT #

is thr any way...we can achieve this a Java EE perspective. I wud really appreciate any help. thanks in advance.

Posted by scottr on September 17, 2007 at 09:25 AM MDT #

yes you can do this in the Java EE perspective In Project Explorer click the down triangle in the left hand pane, then go Customise view -> Filters, and TICK Libraries from external, they will be hidden :)

Posted by steve on July 22, 2008 at 04:30 PM MDT #

Java EE: but what about your internal *.jar-files? Only the internal Jar-files are hidden...

Posted by René on August 11, 2008 at 06:28 AM MDT #

dd

Posted by zhouyanjun on March 24, 2009 at 05:31 AM MDT #

Superb... Thanks for posting this wonderful solution

Posted by Khalil on January 11, 2011 at 02:36 AM MST #

THIS IS VERY COOL.

Posted by SANTHA PERIAN on May 17, 2011 at 07:29 AM MDT #

Thank You!!!!! :)

Posted by Miguel Morales on June 06, 2012 at 06:05 AM MDT #

I thank you a lot. Greetings from Dresden in Germany

Posted by Mike on August 15, 2012 at 06:45 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed