Generate Format using SwiftSyntaxBuilder#611
Conversation
- Add FormatFile template - Add Format extension - Bootstrap Format
|
@swift-ci please test |
|
Some observations I've made while tinkering on
My current experiments can be found here and here. Since the node-child relationship determines most the newline-related formatting anyway, I am not entirely sure whether this approach would really be feasible. Any thoughts? cc @ahoppen |
Since we
You could use |
In preparation for some a small refactor to the formatting/leading trivia generation, this PR ports
Format.swiftto a file generated by SwiftSyntaxBuilder's DSL.