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

Key: IDEA-11780
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 unnecessarily moves closing parenthesis and open brace to a line by itself

Created: 03 Mar 07 02:01   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
class CoolTest {
  void method(String aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, String bbbbbbbbbbb) {
  }
}

Select the method and choose Change Method Signature. Click Move Down, then OK, to produce:

class CoolTest {
  void method(String bbbbbbbbbbb, String aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  ) {
  }
}

There's room for the ") {" on the previous line.



 All   Comments   Work Log   Change History      Sort Order:
Keith Lea - 03 Mar 07 02:05
My code style settings - 80 char margin, 2 char indent, method parameter alignment, line wrapping enabled

Keith Lea - 03 Mar 07 02:09
This is related to IDEA-11781, but not a duplicate - the issue here is that wrapping is completely unnecessary.