Say I have a manually written class A and A_Genera...
# ksp
a
Say I have a manually written class A and A_Generated which was generated by a KSP symbol processor. Is there any standard way to re-run KSP and refresh A_Generated when I edit class A and press "Save" in Android Studio? 🧵
If this is not a supported use case... would switching to Kotlin compiler plugin to produce A_Generated help achieve this behavior out of the box (without writing custom Android Studio plugins etc)?
d
I haven't tried this, but it might be worth installing this plugin: https://plugins.jetbrains.com/plugin/7177-file-watchers and set it up to run the ksp task if the file(s) you care about change.
👍 1
a
Thanks, I did a bit of reading and looks like K2 front end compiler plugin would be a better fit for my use-case and also provide IDE support without any plugins.
👍 1