Code Cleanup Incorrectly Formatting
Hello,
When I use code cleanup on the following code:
Random r = new Random();
if (r.Next() % 2 == 0) {
Console.WriteLine("hi");
} else {
Console.WriteLine("no");
}
String s = null;
try {
s += "hi";
} catch (Exception ex) {
Debug.WriteLine(ex);
} finally {
Console.WriteLine("finally");
}
I get the following result:
Random r = new Random();
if (r.Next() % 2 == 0)
{
Console.WriteLine("hi");
} else
{
Console.WriteLine("no");
}
String s = null;
try
{
s += "hi";
}
catch (Exception ex)
{
Debug.WriteLine(ex);
} finally
{
Console.WriteLine("finally");
}
Now my options shouldn't be formatting it like this. I've attached a screenshot and my settings file.
Attachment(s):
Options.png
GlobalSettingsStorage.DotSettings.zip
Please sign in to leave a comment.