Find rememberCoroutineScope() calls inside a lambda
ProprietaryrememberCoroutineScope() must be called from a composition-aware position — inside a lambda (like an onClick) it's a compile error. The recipe surfaces such mis-positioned calls so they migrate to the composable body proper.
org. openrewrite. kotlin. compose. FindRememberCoroutineScopeInLambda$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindRememberCoroutineScopeInLambda$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.