https://kotlinlang.org logo
#ksp
Title
# ksp
d

Daniil Elovkov

09/14/2023, 11:04 AM
Hi! I have a question about visibility of generated sources in IDE. Do I understand it right that 1. in one of the recent KSP versions generated sources are automatically added as source sets in (at least) Intellij Idea 2. it is still not done for KMP projects, but that’s planned Regarding 2 I mean, that generated files go to
jvm
and
js
directories and, while compilation succeeds, in IDE user code in src/main/common still cannot see generated code. If true, is it possible to talk about the timeframe for implementing IDE visibility support for KMP projects?
m

mbonnin

10/02/2023, 11:13 PM
Came here to ask exactly that question. Building from the command line works fine but the IDE is all red. Looks like it's tracked there: https://github.com/google/ksp/issues/963