History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-11781
Type: Bug Bug
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Keith Lea
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Change Method Signature moves closing parenthesis and open brace to a line by itself instead of wrapping parameter list

Created: 03 Mar 07 02:08   Updated: 07 Mar 07 17:04
Component/s: Refactoring

File Attachments: 1. XML File style.xml (3 kb)


Build: 6,148
Severity: High


 Description  « Hide
Original File
class CoolTest {
  void method(String aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, String bbbbbbbbbbbb) {
  }
}

Note that this goes 1 char past the 80 column margin. Run Change Method Signature, click Move Down, OK, produce:

Actual Result
class CoolTest {
  void method(String bbbbbbbbbbbb, String aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  ) {
  }
}

The correct formatting would be:

Desired Result
class CoolTest {
  void method(String bbbbbbbbbbbb, 
              String aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {
  }
}


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.