owenca/haiku-format

Set SpaceAfterCStyleCast to 'false'

Closed this issue · 4 comments

Currently haiku-format seems to be configured to add spaces after C-style casts, see this example. While not documented explicitly, in my thinking it is more common to not have spaces after a cast.

The SpaceAfterCStyleCast is set to true in the current (17.0.6) configuration. It should likely be set to false.

Will do a quick community survey to validate.

See #26 (comment), though it would be a simple change if the Haiku style is updated to say the contrary.

Looks like a consensus was reached to C-style cast without a space, can the style be updated for the next release?

Yep.