Join Slack
Powered by
are there an easy way to use stdlib functions in c...
# multiplatform
s
smallshen
08/20/2021, 9:32 AM
are there an easy way to use stdlib functions in commonMain? such as forEach, String.toCharArray() etc
smallshen
08/20/2021, 9:34 AM
when editing commonMain, idea will suggest to use string.indices, but it is missing in common stdlib
k
kpgalligan
08/20/2021, 10:48 AM
If stdlib isn't showing up in commonMain then I think your config is not being imported properly by the IDE.
s
smallshen
08/20/2021, 11:31 AM
the version 1.5.21 causes this problem
smallshen
08/20/2021, 11:31 AM
when I switch back to 1.5.20 it is solved properly
s
saket
08/20/2021, 1:37 PM
what's the version of Kotlin plugin installed in your IDE?
Open in Slack
Previous
Next