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

Key: IDEA-14273
Type: New Feature New Feature
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Jens Fransson
Votes: 0
Watchers: 0
Operations

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

Formatting: binary operations

Created: 14 Aug 07 19:05   Updated: 14 Aug 07 19:07
Component/s: Code Formatting and Code Style

Environment: Windows XP

Build: 6,180
Severity: Low


 Description  « Hide
Formatting: binary operations

I would like to reformat existing binary operations so that the operation sign is
placed on the next line. The lines do not exceed the right column margin.
Nevertheless I would like to reformat the code to have the operator at the
beginning of the next line,
not at the end of the previous.

Example:

String s = "Hello" + " " +
"World!";

should be reformatted to:

String s = "Hello" + " "
+ "World!";

I tried out "Settings->Global Code Style->Wrapping->Binary
operations->Operation sign on next line", but it only does something if I
select "Wrap always". This is not the solution I look for because every
operator is placed on a new line by this. If I select "Wrap if
long", reformatting does not change the code.



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