Just to make it work, using the last omnisharp (dev) and omnisharp.json (inserted below) in the same folder as my .sln project. It should work with all releases from version v1.9-beta18, I just compiled from the source, because I do not use a supported system.
{ "FormattingOptions": { "newLine": "\n", "useTabs": false, "tabSize": 4, "indentationSize": 4, "NewLinesForBracesInTypes": false, "NewLinesForBracesInMethods": false, "NewLinesForBracesInProperties": false, "NewLinesForBracesInAccessors": false, "NewLinesForBracesInAnonymousMethods": false, "NewLinesForBracesInControlBlocks": false, "NewLinesForBracesInAnonymousTypes": false, "NewLinesForBracesInObjectCollectionArrayInitializers": false, "NewLinesForBracesInLambdaExpressionBody": false, "NewLineForElse": false, "NewLineForCatch": false, "NewLineForFinally": false, "NewLineForMembersInObjectInit": false, "NewLineForMembersInAnonymousTypes": false, "NewLineForClausesInQuery": false, } }
Available options are listed in this file: https://github.com/bstockus/omnisharp-roslyn/blob/dev/src/OmniSharp.Abstractions/Options/FormattingOptions.cs
source share