Compose Desktop composable names starts with lowercase
Asked Answered
D

1

5

as you all may know a Composable function names in Jetpack Compose should start with Uppercase. but in Compose Desktop editor shows warning when I use Uppercase letter for my Composable first letter!

Function name 'App' should start with a lowercase letter

I want to just copy and paste lots of code from Android in my project.

how can I solve this issue?

Duprey answered 30/4, 2023 at 15:11 Comment(0)
O
10

You may need to install additional plugins in your IDE to resolve this lint error. Check to see whether you have the Compose Multiplatform IDE Support plugin installed for Android Studio/IntelliJ.

Compose Multiplatform IDE Support Plugin

No lint error

Obstipation answered 1/5, 2023 at 13:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.