Bug 25896

Summary: weird formatting of import declarations
Product: [Eclipse Project] JDT Reporter: Claude Knaus <Claude_Knaus>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: All   
Whiteboard:

Description Claude Knaus CLA 2002-11-08 11:08:39 EST
I-20021105 with latest jdt.core

I did an Organize Imports on a type with long import declarations.
They got wrapped like this:

import org
    .eclipse
    .text
    ...

it looks really ugly (I didn't even know it was legal Java grammar).
I think names like this should never be wrapped, even if it's possible by the 
Java language specification. An alternative would be to have a preference to 
change behaviour.
Comment 1 Philipe Mulet CLA 2002-11-08 11:52:20 EST
Looks bad indeed.
Comment 2 Olivier Thomann CLA 2002-11-12 09:39:28 EST

*** This bug has been marked as a duplicate of 7224 ***
Comment 3 Olivier Thomann CLA 2003-01-17 10:18:33 EST
Changed milestone.