format icon indicating copy to clipboard operation
format copied to clipboard

dotnet format whitespace is not working in case of "File Scoped Namespace"

Open AlexHolly opened this issue 2 years ago • 0 comments

Command dotnet format whitespace ./.. --folder

Example

This works (contains whitespaces in line 3)

namespace Test
{
  
}

This is not working, the whole file is not processed (contains whitespaces at the end of line 1)

namespace Test;   

AlexHolly avatar Sep 16 '22 14:09 AlexHolly