Status Update
Comments
ko...@google.com <ko...@google.com> #2
It's not a bug Row has optional parameters and we stop at them. If user don't want to fill them they press tab and it's leave them in that position. It standard behaviour for templates as well.
Row {
<caret>
}
``
di...@google.com <di...@google.com> #3
So if Row
has only optional parameters + the lambda, shouldn't we not add the ().
For example, for the following declaration fun test(optional: Int = 1, block: () -> Unit)
If I type tes<caret>
and press enter, it will complete to:
test {
<caret>
}
Should Row
not behave the same?
ko...@google.com <ko...@google.com> #4
We can do it. The point it was designed like that last year when we discussed first proposal for Compose completion.
di...@google.com <di...@google.com> #5
Ah, ok, yes that I understand. I was confused about it being standard. This one we'll need to consider. If the feedback is overwhelmingly agains the current behaviour, we might have to revert to the "default" behaviour.
Description
When using Android Studio Arctic Fox Canary 8 auto-complete of Row leaves the caret at the input parameter position instead inside the lambda.
Actual
Expected