我喜欢我的代码格式如下:
WithDataContext.Execute(
delegate(DataContext dataContext)
{
// code goes here.
});
Run Code Online (Sandbox Code Playgroud)
ReSharper希望像这样自动格式化它:
WithDataContext.Execute(
delegate(DataContext dataContext)
{
// code goes here.
});
Run Code Online (Sandbox Code Playgroud)
我需要哪些选项来调整以获得我想要的内容?
Jam*_*ack 10
ReSharper - >选项 - > C# - >格式样式 - >大括号布局 - >匿名方法声明
设置为"下一行(BSD风格)"
ReSharper - >选项 - > C# - >格式化样式 - >其他 - >对齐多行构造
取消选中"调用参数",您将获得所需内容.
| 归档时间: |
|
| 查看次数: |
425 次 |
| 最近记录: |