Skip to content

Instantly share code, notes, and snippets.

@wilg
Created Jul 26, 2018
Embed
What would you like to do?
C# for Unity OmniSharp and VS Code Formatting Settings
{
"FormattingOptions": {
"NewLine": "\n",
"IndentationSize": 4,
"NewLinesForBracesInMethods": false,
"NewLinesForBracesInAccessors": false,
"NewLinesForBracesInAnonymousMethods": false,
"NewLinesForBracesInAnonymousTypes": false,
"NewLinesForBracesInControlBlocks": false,
"NewLinesForBracesInLambdaExpressionBody": false,
"NewLinesForBracesInObjectCollectionArrayInitializers": false,
"NewLinesForBracesInProperties": false,
"NewLinesForBracesInTypes": false
}
}
{
"files.exclude": {
"**/.DS_Store": true,
"**/.git": true,
"**/.gitignore": true,
"**/.gitmodules": true,
"**/*.booproj": true,
"**/*.pidb": true,
"**/*.suo": true,
"**/*.user": true,
"**/*.userprefs": true,
"**/*.unityproj": true,
"**/*.dll": true,
"**/*.exe": true,
"**/*.pdf": true,
"**/*.mid": true,
"**/*.midi": true,
"**/*.wav": true,
"**/*.gif": true,
"**/*.ico": true,
"**/*.jpg": true,
"**/*.jpeg": true,
"**/*.png": true,
"**/*.psd": true,
"**/*.tga": true,
"**/*.tif": true,
"**/*.tiff": true,
"**/*.3ds": true,
"**/*.3DS": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.lxo": true,
"**/*.LXO": true,
"**/*.ma": true,
"**/*.MA": true,
"**/*.obj": true,
"**/*.OBJ": true,
"**/*.asset": true,
"**/*.cubemap": true,
"**/*.flare": true,
"**/*.mat": true,
"**/*.meta": true,
"**/*.prefab": true,
"**/*.unity": true,
"build/": true,
"Build/": true,
"Library/": true,
"library/": true,
"obj/": true,
"Obj/": true,
"ProjectSettings/": true,
"temp/": true,
"Temp/": true
},
"editor.detectIndentation": false,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"csharp.referencesCodeLens.enabled": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true
}
@Firanolfind
Copy link

Firanolfind commented Sep 21, 2020

Perfect, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment