You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed what you ask for is analogous to LambdaBodyIndentation.
There's already ObjCBlockIndentWidth, so I think that adding ObjCBlockBodyIndentation is worth doing.
It should be pretty straightforward to mimic LambdaBodyIndentation.
With the attached clang-format file, the following (mildly reduced) Objective-C snippet formats as displayed:
when I would like it to format as
which is what Xcode does. This seems equivalent to LambdaBodyIndentation, but there's no equivalent setting for ObjC blocks.
The text was updated successfully, but these errors were encountered: