Comma delimiter wraps to "own" line upon "code cleanup" on non-wrappable code lines
[4.5]
public class Foo
{
public void Bar()
{
var strings =
new []
{
"Very long string that exceeds maximum width in resharper naming style...",
"Very long string that exceeds maximum width in resharper naming style...",
};
}
When I type in the ";" above and trigger the code cleanup, the result becomes:
public class Foo
{
public void Bar()
{
var strings =
new[]
{
"Very long string that exceeds maximum width in resharper naming style..."
,
"Very long string that exceeds maximum width in resharper naming style..."
,
};
}
}
In this case, maybe there should be some logic that if the line isn't wrapped but exceeds the col length specified, the delimiter ("," in this case) should be placed at end of line instead of on its own line?
Thanks.
Please sign in to leave a comment.
Hello
I've created an issue: http://youtrack.jetbrains.net/issue/RSRP-178944 and you're welcome to monitor its status.
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"