Find padding(start = x, end = x, top = y, bottom = y) shorthand opportunities

Proprietary

Modifier.padding(start = 8.dp, end = 8.dp, top = 16.dp, bottom = 16.dp) reads as four independent insets but really means "8 horizontal, 16 vertical". The shorter padding(horizontal = 8.dp, vertical = 16.dp) says that intent up front and survives a future change to one axis without re-pairing the values.

org.openrewrite.kotlin.compose.FindModifierPaddingHorizontalEqualToVertical$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindModifierPaddingHorizontalEqualToVertical$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.