Any reason why @Composable annotation is not annot...
# compose
b
Any reason why @Composable annotation is not annotated with @DslMarker? Visibility in IDEA alone would be a big improvement basically for free.
a
There's no receiver scope for it to apply to since this appears on functions, plus we use
@DslMarker
for its usual purpose on receiver scope types in various places in compose, e.g. `RowScope`/`ColumnScope` etc. The two are orthogonal.
Android studio has support for different highlighting of composable function calls already, getting this and similar IDE facilities ported to an appropriate IDEA plugin or something is on the radar
👍 1