Bug 133971

Summary: Add one more line wrapping policy in java formmater
Product: [Eclipse Project] JDT Reporter: Alexey Romanchuk <leher2001>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alexey Romanchuk CLA 2006-03-29 21:32:26 EST
I would like to see new line wrapping policy in java formmater. 
Option "wrap all elements except first element if not necesarry" works fine except first parameter in same line as function declaration.
example "wrap all elements except first element if not necesarry": 
  void foo(int arg1,
      int arg2,
      int arg3,
      int arg4,
      int arg5,
      int arg6 )
  {
  }
would like to see:
  void foo(
      int arg1,
      int arg2,
      int arg3,
      int arg4,
      int arg5,
      int arg6 )
  {
  }

It is very easy to add this feature. Just add combo box and one more simple case in Alingment class.
Comment 1 Alexey Romanchuk CLA 2006-03-29 21:33:18 EST
I have patch that implement this feature. If you intresting i can submit it.
Comment 2 Alexey Romanchuk CLA 2006-03-29 21:35:54 EST
*** Bug 133973 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Romanchuk CLA 2006-03-29 21:36:02 EST
*** Bug 133972 has been marked as a duplicate of this bug. ***