odd linebreaks around braces when line is too long
When a line is too long I get the following linebreaks in using statements:
using (
FileStream stream = new FileStream(this.FilePath, FileMode.Create, FileAccess.ReadWrite)
)
But I would like it to be formatted like this:
using (FileStream stream
= new FileStream(this.FilePath, FileMode.Create, FileAccess.ReadWrite))
(put the linebreak anywhere inside)
At the same time, I would like to have linebreaks for method arguments like this:
CallMethod(
argument1,
argument2,
argument3);
How do I need to setup my settings to make this work? My current user settings are attached.
Attachment(s):
UserSettings.xml
Please sign in to leave a comment.
Hello
I'm afraid there's no setting to control the formatting this way. I've created a ticket in our bug-tracker: http://youtrack.jetbrains.net/issue/RSRP-288141 and you're welcome to monitor its status. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"