如何更改 Xamarin Studio 格式化代码的方式?

How to change the way Xamarin Studio formats code?

我就是这样写代码的人

if(...)
{

}

但每次我这样做时,Xamarin Studio 都会自动将我的代码更改为此

if(...){

}

我该如何更改?

在 Xamarin Studio 的首选项中,转到 Source Code > Code Formatting > C# source code,然后单击“编辑”按钮:

从那里您基本上可以自定义所有内容。您可以 select Braces 类别来自定义大括号格式: