Bug 189983 - Strange formatting choice for some long lines makes lines even longer
Summary: Strange formatting choice for some long lines makes lines even longer
Status: VERIFIED DUPLICATE of bug 264112
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 13:52 EDT by Adam Cabler CLA
Modified: 2010-04-27 07:03 EDT (History)
2 users (show)

See Also:


Attachments

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