4 ms·
> Could you give an example? One thing clang-format ruined for me is when I laid code out in the same indentation as the JSON it was generating. E.g. json
by secondcoming 3y ago
> Could you give an example?
One thing clang-format ruined for me is when I laid code out in the same indentation as the JSON it was generating.
E.g.
json
.startObject("root")
.startArray("data")
.insert(1)
.endArray()
.endObject();
became
json
.startObject("root")
.startArray("data")
.insert(1)
.endArray()
.endObject();