Bug 133971 - Add one more line wrapping policy in java formmater
Summary: Add one more line wrapping policy in java formmater
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 133972 133973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-29 21:32 EST by Alexey Romanchuk CLA
Modified: 2006-03-29 21:36 EST (History)
0 users

See Also:


Attachments

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