package explorer in Eclipse

In the package explorer, the packages are listed like so:

Is there a way to have it not display the com.mycompany part, such that I see this:

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kevin CrossChief Technology OfficerCommented:
You can make the com\mycompany folder a source folder, but believe this would be the same as if you just named your packages thispackage, thatpackage, etc.  If you still want your packages named the full com.mycompany.thispackage I believe you will have to see it displayed as such.
I am afraid there is no direct way to hide the package name when you are in package explorer. But on the other end, you can make the package explorer show packages relevant to the task you are performing using task management tools like Mylyn which is now a integral part of eclipse.

Visit: for more details on Mylyn.
allelopathAuthor Commented:
Window -> Preferences ->  Java > Appearance and enable package name compression with 0 as the pattern.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Kevin CrossChief Technology OfficerCommented:
Nice allelopath, I had never used that.  The 0 doesn't work in my test environment but think that is because I have packages of all sorts of names instead of under one consistent heirarchy; however, I tried with . or '0' and worked like a champ except those put . or ' for each level of package omitted whereas 0 is supposed to just show last level...

Very nice, sir.

Kevin CrossChief Technology OfficerCommented:
You can click on your own comment as solution by the way, so future readers can benefit from this...
Its a nice solution allelopath. My bad, I never needed something like that option during development. Something new that I learnt. Thank You.
But if our whole intention is on more to concentrate on the task that we have currently in our hand than the codebase itself, then Mylyn is the right tool which could save lots of our time and increase our productivity in no time. Ofcourse task management is something new coming into the field but the idea is excellent and I am personally getting benefited by it on day-2-day basis.

The below link can be a great place to startwith. Trust me it more simpler to use that we would expect. :)

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.