我喜欢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#换行符的组合,但似乎无法找到解决方案。
答案 0 :(得分:1)
尝试在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
属性的值