Skip to content

Instantly share code, notes, and snippets.

@GavinRay97
Created March 3, 2021 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GavinRay97/0466b4f853a4e24b1d2cfd1495f8efcf to your computer and use it in GitHub Desktop.
Save GavinRay97/0466b4f853a4e24b1d2cfd1495f8efcf to your computer and use it in GitHub Desktop.
C# - Omnisharp settings for not-fucked-up, terrible, awful formatting (IE like JS/TS/Java/Swift/literally every other C-based language)
{
"FormattingOptions": {
"NewLinesForBracesInLambdaExpressionBody": false,
"NewLinesForBracesInAnonymousMethods": false,
"NewLinesForBracesInAnonymousTypes": false,
"NewLinesForBracesInControlBlocks": false,
"NewLinesForBracesInTypes": false,
"NewLinesForBracesInMethods": false,
"NewLinesForBracesInProperties": false,
"NewLinesForBracesInAccessors": false,
"NewLineForElse": false,
"NewLineForCatch": false,
"NewLineForFinally": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment