dotnet / dotnet/format

Optional spacing around braces

Open
#778 0 comments 1 reaction 0 assignees View on GitHub
Feature Request
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

I'd like to control if spaces are added around braces in one-line statement.
I would like the following examples to remain unchanged:
```cs
var label = new string[] {};
Register(new object[] {new[] {"Id"}});
AddNames(new[] {"name1"}));
```

I couldn't find an option to control it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.