File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -254,31 +254,34 @@ compactControlReadability
254254
255255Default: ``false ``
256256
257- When ``compactControlReadability `` is ``true ``, ``if ``/``else `` and
257+ When ``compactControlReadability `` is ``true ``, then ``if ``/``else `` and
258258``try ``/``catch ``/``finally `` control structures will be formatted
259- using `Compact Control Readability `_ style:
259+ using `Compact Control Readability `_ style
260260
261- .. _Compact Control Readability : http://en.wikipedia.org/wiki/Indent_style#Compact_Control_Readability_style
261+ .. _Compact Control Readability : http://en.wikipedia.org/wiki/Indent_style#Variant:_Stroustrup
262+
263+ ::
262264
263265 if (x == y) {
264266 foo()
265- }
267+ }
266268 else if (y == z) {
267269 bar()
268- }
270+ }
269271 else {
270272 baz()
271- }
273+ }
272274
273275 try {
274276 foo()
275- }
277+ }
276278 catch {
277279 case _ => bar()
278- }
280+ }
279281 finally {
280282 baz()
281- }
283+ }
284+
282285
283286compactStringConcatenation
284287~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments