clang-formatter: Prevent new line in function declaration
Asked Answered
M

0

8

In Objective-C how to prevent new lines here:

- (NSInteger)tableView:(UITableView *)tableView
    numberOfRowsInSection:(NSInteger)section {

to see this:

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {

Tried this, but apparently not works with Objective-C:

AllowAllParametersOfDeclarationOnNextLine: false
Maladminister answered 13/11, 2017 at 21:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.