Results 1 to 1 of 1
Thread: Eclipse import line wrap
- 11-26-2008, 04:16 PM #1Member
- Join Date
- Nov 2008
- Rep Power
Eclipse import line wrap
Has anyone else had the problem where their Eclipse imports extend past the 80 character mark (packages too)? It seems easy enough to fix (add a newline character) but every time you organize your imports the problem will come back.
Honestly normally I wouldn't even care about the import length except that I am using the checkstyle (checkstyle.sourceforge.net) plugin which will complain if *any* line is greater than 80 characters. I know it is possible to modify the checkstyle plugin to ignore certain issues but I have been strongly encouraged to use the most strict checkstyle plugin setting as is for the sake of consistency.
So... If anyone out there has found a satisfactory solution to this problem I would very much appreciate their insight. For the curious the Eclipse formatter doesn't seem to touch the imports at all. Alternatively if there are others that believe this is a bug in the eclipse platform (I am using Eclipse 3.4) please let me know and I'll consider raising an issue.
- By naipulb in forum New To JavaReplies: 2Last Post: 06-09-2008, 11:04 AM
- By techissue2008 in forum EclipseReplies: 1Last Post: 05-30-2008, 10:07 PM
- By JavaForums in forum EclipseReplies: 0Last Post: 05-19-2007, 09:45 AM