Resharper 代码清理和 Azure Function 方法签名
Resharper code cleanup and Azure Function method signatures
我希望 R# 2017.3.3 在 运行 代码清理时不要为我的 Azure 函数方法签名引入换行符。预期:
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequestMessage req, TraceWriter log)
如何格式化内置的完全清理
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)]
HttpRequestMessage req, TraceWriter log)
我尝试了按行长度换行、属性换行和一般 C# 换行的各种组合,但似乎找不到解决方案。
尝试在此处增加 Place attribute section list on separate line if it is longer than
属性 的值 ReSharper | Options | Code Editing | C# | Formatting Style | Line Breaks and Wrapping | Arrangement of Attributes
我希望 R# 2017.3.3 在 运行 代码清理时不要为我的 Azure 函数方法签名引入换行符。预期:
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequestMessage req, TraceWriter log)
如何格式化内置的完全清理
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)]
HttpRequestMessage req, TraceWriter log)
我尝试了按行长度换行、属性换行和一般 C# 换行的各种组合,但似乎找不到解决方案。
尝试在此处增加 Place attribute section list on separate line if it is longer than
属性 的值 ReSharper | Options | Code Editing | C# | Formatting Style | Line Breaks and Wrapping | Arrangement of Attributes