For example, if it is possible to format
static const Field field[] = {
{ "c_name", "integer", "not null" },
{ "c_id", "varchar(50)", "not null" },
};
to
static const Field field[] = {
{ "c_name", "integer", "not null" },
{ "c_id", "varchar(50)", "not null" },
};
using clang-format?
I have searched a lot. The only solution I found is formatting manually. Turn off the clang format, format the code manually and then turn it on using inline comment.
// clang-format off
static const Field field[] = {
{ "c_name", "integer", "not null" },
{ "c_id", "varchar(50)", "not null" },
};
// clang-format on
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With