Eclipse Package Explorer: hide part of long package names?

I was looking for a “problem” that annoyed me for a while (but without any luck).

I am developing an Android application with a rather long package name com.kennethbrodersen.simplecaster .

This project contains several subpackages. The problem is that all of these packages are displayed with the full package identifier in the package explorer. As a result, this view must be very broad or that I have to scroll horizontally to actually see the interesting part of the name. This problem is very clearly visible in the screenshot below.

Do any of you know a way to “hide” parts of an identifier (in this case, com.kennethbrodersen.simplecaster )?

Eclipse package explorer

+49
eclipse
Oct 30 '12 at 15:59
source share
1 answer

You can configure package name abbreviations in Helios (3.6) or later. Go to Window> Preferences> Java> Appearance to configure pruning rules.

For example, com.kennethbrodersen.simplepod can be configured to display as {KBsimple} with the rule com.kennethbrodersen.simplepod={KBsimple} .

+73
Oct 30
source share



All Articles