Bug 152184 - [formatter] incorrect 'indent on column' for extends, implements, throws
Summary: [formatter] incorrect 'indent on column' for extends, implements, throws
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P5 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-07-28 13:49 EDT by Michael Newcomb CLA
Modified: 2019-10-24 15:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Newcomb CLA 2006-07-28 13:49:06 EDT
'Force Split' is checked...

Correct indent on column:
public class A    |
  extends B, C, D |
          E, F    |
  implements Z, Y |
             X, W |
{                 |
  public A()      |
    throws Ex1,   |
           Ex2,   |
}                 |

This is what Eclipse does for indent on column:
public class A     |
              extends
              B, C,|
              D, E,|
              F    |
              implements
              Z, Y,|
              X, W |
{                  |
  public A()       |
            throws |
            Ex1,   |
            Ex2    |
}                  |

It treats the keywords (extends, implements, throws) as tokens instead of treating them as a column for the indent.

Thanks,
Michael
Comment 1 Frederic Fusier CLA 2008-08-18 08:07:30 EDT
Ownership has changed for the formatter, but I surely will not have enough time to fix your bug during the 3.5 development process, hence set its priority to P5.
Please provide a patch if you definitely need the bug to be fixed in this version and I'll have a look at it...
TIA
Comment 2 John Hu CLA 2014-10-22 10:10:40 EDT
Hi Frederic,

I know it had passed 6 years. May I know if there is any progress on this issue?

Thanks.
John Hu
Comment 3 Frederic Fusier CLA 2014-10-22 12:21:13 EDT
(In reply to John Hu from comment #2)
Hi John, I'm no longer working in JDT/Core team for almost 5 years now. Hence, putting back the owner to the default one.
Comment 4 Eclipse Genie CLA 2019-10-24 15:39:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.