Bug 189983

Summary: Strange formatting choice for some long lines makes lines even longer
Product: [Eclipse Project] JDT Reporter: Adam Cabler <acabler>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, satyam.kandula
Version: 3.3   
Target Milestone: 3.6 M5   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Adam Cabler CLA 2007-05-30 13:52:41 EDT
I'm not sure how to characterize this better, but sometimes, I have lines that get formatted in a weird way.  The method name gets moved to the next line and indented.  It doesn't seem to absolutely depend on line length since I have longer lines that it doesn't format this way.  One example that always gets formatted weird:


layout.addShowViewShortcut("a long path to my view id but is about this long ");

gets formatted to:

layout
          .addShowViewShortcut("a long path to my view id but is about this long");
Comment 1 Olivier Thomann CLA 2007-05-30 14:04:38 EDT
Known problem.
Comment 2 Olivier Thomann CLA 2007-05-30 14:08:55 EDT

*** This bug has been marked as a duplicate of bug 104004 ***
Comment 3 Frederic Fusier CLA 2010-04-14 06:55:41 EDT
It was in fact more a duplicate of bug 264112, hence it's fixed since 3.6M5.

*** This bug has been marked as a duplicate of bug 264112 ***
Comment 4 Satyam Kandula CLA 2010-04-27 07:00:02 EDT
Verified for 3.6M7 using build I20100424-2000
Comment 5 Jay Arthanareeswaran CLA 2010-04-27 07:03:18 EDT
Verified.