Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 249565 Details for
Bug 455852
Eclipse formatter does not obey wrap width limits in some cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
The above code exactly as the Eclipse formatter formats it
FormatWidthProblems.java (text/x-java), 784 bytes, created by
Luke Hutchison
on 2014-12-20 10:52:37 EST
(
hide
)
Description:
The above code exactly as the Eclipse formatter formats it
Filename:
MIME Type:
Creator:
Luke Hutchison
Created:
2014-12-20 10:52:37 EST
Size:
784 bytes
patch
obsolete
>import java.util.ArrayList; > >public class FormatWidthProblems { > > // format width ---------------------------------------| > > static class ReallyLongClassNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX { > } > > public static void main(String[] args) { > int[] reallyLongArrayNameZZZZZZZZZZZZZZZZZZZZZZZZZ = > new int[0]; > for (int reallyLongVariableNameZZZZZZZZZZZZZZZZZZZZZZZZZ : reallyLongArrayNameZZZZZZZZZZZZZZZZZZZZZZZZZ) { > } > int reallyLongVariableName1 = 1, reallyLongVariableName2 = > 2, reallyLongVariableName3 = 3; > ArrayList<Integer> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = > new ArrayList<>(); > ArrayList<ReallyLongClassNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX> xxxxxxxxxxxxxxxxxxxxx = > new ArrayList<>(); > } > > // format width ---------------------------------------| >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 455852
: 249565 |
249627