Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 169124

Summary: [render] "Compress package name segments" different on every level.
Product: [Eclipse Project] JDT Reporter: Rodion <rodion>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: rodion
Version: 3.2.1Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Rodion CLA 2006-12-27 10:51:49 EST
The function "Compress all package name segments, except the final segment" is nice. But it is not very suitable for large projects with deep package trees. Very often about 5 first segment are not needed at all (pattern "0"), but the next two or three segments are needed completely.

It is not possible in current configuration. All but the last segment are compressed with the same pattern.

It would be very good to have this function more powerful:

- Setting the length of the every level of the package tree would be very useful. Different implementations are possible. For example: using a pattern "0.0.0.0.4~." to change "com.company.department.team.project.task.subtask" into "proj~.task.subtask". 

- The possibility to overwrite this pattern in project preferences would be very nice too.
Comment 1 Martin Aeschlimann CLA 2007-06-21 09:06:07 EDT
All your point are valid, but we don't intend to work further on this feature. Contributions are welcome.