OmniSharp / omnisharp-roslyn

OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
MIT License
1.78k stars 419 forks source link

[Feature request] Auto-formatter: add setting to NOT indent namespace contents #2152

Open VaustXIII opened 3 years ago

VaustXIII commented 3 years ago

It would be nice to have the omnisharp.json formatter option to not indent namespace blocks:

namespace Foo {

class Bar {
    int value;
}

}

Instead of:

namespace Foo {

    class Bar {
        int value;
    }

}
333fred commented 3 years ago

You'll need to open this request on dotnet/roslyn, the formatter is not something OmniSharp controls directly.