practicalswift
57bccc8b06
[gardening] Fix inconsistent formatting.
2016-06-04 00:37:15 +02:00
Argyrios Kyrtzidis
d10220920b
[IDE/format] Disable the sibling check for dictionary/array literal elements.
...
This ends up creating too much indentation in some common cases.
This effectively get us back to indentation behavior of Swift 2.2.
Addresses rdar://26290643.
2016-05-23 17:23:40 -07:00
practicalswift
abfecfde17
[gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y]
2016-04-04 16:22:11 +02:00
Ben Langmuir
4d9c9f6098
Move SourceEntityWalker into libAST NFC
...
It fits right in among our other AST walkers and lets us use it lower in
the stack than libIDE.
2016-04-01 14:14:06 -07:00
Xi Ge
589d9a8a3e
CodeFormat: Avoid indenting the close bracket of a closure if the closure is on the RHS of an assignment expression. rdar://24507930
2016-03-29 13:08:55 -07:00
practicalswift
ac87f428ea
[gardening] Fix formatting of recently introduced headers.
2016-03-22 21:36:09 +01:00
John Regner
5b9fc3d832
[SourceKit] Add reformat function to libIDE
...
Move all the rest of the code formatters and helper classes out of the interface.
2016-03-18 21:37:00 -07:00
John Regner
e63678579b
[SourceKit] Moved Formatting files into place in libIDE
2016-03-18 21:19:57 -07:00