Bug 25896 - weird formatting of import declarations
Summary: weird formatting of import declarations
Status: RESOLVED DUPLICATE of bug 7224
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-08 11:08 EST by Claude Knaus CLA
Modified: 2003-01-17 10:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.