bugzillaclang-formatenhancementgood first issue
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
| Bugzilla Link | 42767 |
| Version | unspecified |
| OS | Windows NT |
Extended Description
We have options to remove duplicate white-space lines, however, it would also be good for readability to be able to require at least one empty line:
- before and after and #include block
- before and after a namespace
//
// License
//
#include <memory>
#include <string>
namespace {
}
convert to:
//
// License
//
<<-- added empty line
#include <memory>
#include <string>
<<-- added empty line
namespace Bar {
class Foo {
};
} // Bar