Open BaseMax opened 3 years ago
This is our clang-format config: https://github.com/One-Language/One/blob/master/.clang-format
We can take a look at other c/c++ projects to see what clang-config these use...
Good trick
// clang-format off
.....
.....
.....
// clang-format on
Do we need any other custom Clang Format settings ?
As you see in some file for example
lexer.test.c
file I want to implement items of tokens in several lines.. https://github.com/One-Language/One/blob/master/test/lexer.test.c#L82for example:
This is VERY BAD and not readable, we want some better syntax format.
This is much better: