Is there a way in visual studio 2022 to add a new line before and after namespace?

Viewed 14

I am using Visual Stuido 2022 to code my C# project.

Is there a way to configure VS using (.editorconfig file) where a new line is added before and after the namespace?

So my class will look like this

using System;

namespace ProjectName.Tests;

public class Test
{
    
}

instead of

using System;
namespace ProjectName.Tests;
public class Test
{
    
}

0 Answers
Related