clang-format : Specify number of empty lines
Open
clang-format
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
The options
- `EmptyLineAfterAccessModifier`
- `EmptyLineBeforeAccessModifier`
- `WrapNamespaceBodyWithEmptyLines`
can be set to `Leave`, `Never`, `Always`
I think it would be better to set them to an integer instead to choose the number of empty lines (`-1` instead of `Leave`, `0` instead of `Never`, `1` instead of `Always`, and any positive number `N` if the user wants that many empty lines)
Contributor guide
Assessment
This issue has not been assessed yet.