Skip to content

Commit f3ea873

Browse files
Thainamadskristensen
authored andcommitted
Create omnisharp.json (#260)
1 parent f9892c4 commit f3ea873

File tree

1 file changed

+211
-0
lines changed

1 file changed

+211
-0
lines changed

src/schemas/json/omnisharp.json

+211
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"type": "object",
4+
"properties": {
5+
"FormattingOptions": {
6+
"type": "object",
7+
"properties": {
8+
"NewLine": {
9+
"type": "string",
10+
"default": "\n"
11+
},
12+
"UseTabs": {
13+
"type": "boolean",
14+
"default": false
15+
},
16+
"TabSize": {
17+
"type": "integer",
18+
"default": 4
19+
},
20+
"IndentationSize": {
21+
"type": "integer",
22+
"default": 4
23+
},
24+
"SpacingAfterMethodDeclarationName": {
25+
"type": "boolean",
26+
"default": false
27+
},
28+
"SpaceWithinMethodDeclarationParenthesis": {
29+
"type": "boolean",
30+
"default": false
31+
},
32+
"SpaceBetweenEmptyMethodDeclarationParentheses": {
33+
"type": "boolean",
34+
"default": false
35+
},
36+
"SpaceAfterMethodCallName": {
37+
"type": "boolean",
38+
"default": false
39+
},
40+
"SpaceWithinMethodCallParentheses": {
41+
"type": "boolean",
42+
"default": false
43+
},
44+
"SpaceBetweenEmptyMethodCallParentheses": {
45+
"type": "boolean",
46+
"default": false
47+
},
48+
"SpaceAfterControlFlowStatementKeyword": {
49+
"type": "boolean",
50+
"default": true
51+
},
52+
"SpaceWithinExpressionParentheses": {
53+
"type": "boolean",
54+
"default": false
55+
},
56+
"SpaceWithinCastParentheses": {
57+
"type": "boolean",
58+
"default": false
59+
},
60+
"SpaceWithinOtherParentheses": {
61+
"type": "boolean",
62+
"default": false
63+
},
64+
"SpaceAfterCast": {
65+
"type": "boolean",
66+
"default": false
67+
},
68+
"SpacesIgnoreAroundVariableDeclaration": {
69+
"type": "boolean",
70+
"default": false
71+
},
72+
"SpaceBeforeOpenSquareBracket": {
73+
"type": "boolean",
74+
"default": false
75+
},
76+
"SpaceBetweenEmptySquareBrackets": {
77+
"type": "boolean",
78+
"default": false
79+
},
80+
"SpaceWithinSquareBrackets": {
81+
"type": "boolean",
82+
"default": false
83+
},
84+
"SpaceAfterColonInBaseTypeDeclaration": {
85+
"type": "boolean",
86+
"default": true
87+
},
88+
"SpaceAfterComma": {
89+
"type": "boolean",
90+
"default": true
91+
},
92+
"SpaceAfterDot": {
93+
"type": "boolean",
94+
"default": false
95+
},
96+
"SpaceAfterSemicolonsInForStatement": {
97+
"type": "boolean",
98+
"default": true
99+
},
100+
"SpaceBeforeColonInBaseTypeDeclaration": {
101+
"type": "boolean",
102+
"default": true
103+
},
104+
"SpaceBeforeComma": {
105+
"type": "boolean",
106+
"default": false
107+
},
108+
"SpaceBeforeDot": {
109+
"type": "boolean",
110+
"default": false
111+
},
112+
"SpaceBeforeSemicolonsInForStatement": {
113+
"type": "boolean",
114+
"default": false
115+
},
116+
"SpacingAroundBinaryOperator": {
117+
"type": "string",
118+
"default": "single"
119+
},
120+
"IndentBraces": {
121+
"type": "boolean",
122+
"default": false
123+
},
124+
"IndentBlock": {
125+
"type": "boolean",
126+
"default": true
127+
},
128+
"IndentSwitchSection": {
129+
"type": "boolean",
130+
"default": true
131+
},
132+
"IndentSwitchCaseSection": {
133+
"type": "boolean",
134+
"default": true
135+
},
136+
"LabelPositioning": {
137+
"type": "string",
138+
"default": "oneLess"
139+
},
140+
"WrappingPreserveSingleLine": {
141+
"type": "boolean",
142+
"default": true
143+
},
144+
"WrappingKeepStatementsOnSingleLine": {
145+
"type": "boolean",
146+
"default": true
147+
},
148+
"NewLinesForBracesInTypes": {
149+
"type": "boolean",
150+
"default": true
151+
},
152+
"NewLinesForBracesInMethods": {
153+
"type": "boolean",
154+
"default": true
155+
},
156+
"NewLinesForBracesInProperties": {
157+
"type": "boolean",
158+
"default": true
159+
},
160+
"NewLinesForBracesInAccessors": {
161+
"type": "boolean",
162+
"default": true
163+
},
164+
"NewLinesForBracesInAnonymousMethods": {
165+
"type": "boolean",
166+
"default": true
167+
},
168+
"NewLinesForBracesInControlBlocks": {
169+
"type": "boolean",
170+
"default": true
171+
},
172+
"NewLinesForBracesInAnonymousTypes": {
173+
"type": "boolean",
174+
"default": true
175+
},
176+
"NewLinesForBracesInObjectCollectionArrayInitializers": {
177+
"type": "boolean",
178+
"default": true
179+
},
180+
"NewLinesForBracesInLambdaExpressionBody": {
181+
"type": "boolean",
182+
"default": true
183+
},
184+
"NewLineForElse": {
185+
"type": "boolean",
186+
"default": true
187+
},
188+
"NewLineForCatch": {
189+
"type": "boolean",
190+
"default": true
191+
},
192+
"NewLineForFinally": {
193+
"type": "boolean",
194+
"default": true
195+
},
196+
"NewLineForMembersInObjectInit": {
197+
"type": "boolean",
198+
"default": true
199+
},
200+
"NewLineForMembersInAnonymousTypes": {
201+
"type": "boolean",
202+
"default": true
203+
},
204+
"NewLineForClausesInQuery": {
205+
"type": "boolean",
206+
"default": true
207+
}
208+
}
209+
}
210+
}
211+
}

0 commit comments

Comments
 (0)