开发者

How to make Resharper place blank lines after { in c#

开发者 https://www.devze.com 2023-01-15 13:19 出处:网络
Does anyone know how to make Resharper add blank lines after brackets when performing code cleanup? I want to make the following code

Does anyone know how to make Resharper add blank lines after brackets when performing code cleanup?

I want to make the following code

if (x == y)
{
   int a = x;
   int b = y;
   int z = a + b;
}

Look like this

if (x == y)
{

   int a = x;
   int b = y;
   int 开发者_JAVA技巧z = a + b;

}


I have had a look through the Resharper options but can't see anything to add the extra blank lines around your block of code, although I am not sure that format makes it any more readable than without extra spaces. I would suggest asking this question on the Resharper News Group: news://news.jetbrains.com/jetbrains.resharper.community

0

精彩评论

暂无评论...
验证码 换一张
取 消