Code generation as implemented in #334 is currently rather experimental and throws a lot of exceptions on recent Kotlin versions. Until this is addressed, it would be a better user experience if we just disable code generation by default and let advanced users opt-in by setting
{
"kotlin.codegen.enabled": true
}
The downside is that Java interoperability will no longer work without this option, but given that it doesn't really seem to work properly in the current state, I believe making it opt-in and experimental for now would be an improvement over the status quo.
Code generation as implemented in #334 is currently rather experimental and throws a lot of exceptions on recent Kotlin versions. Until this is addressed, it would be a better user experience if we just disable code generation by default and let advanced users opt-in by setting
The downside is that Java interoperability will no longer work without this option, but given that it doesn't really seem to work properly in the current state, I believe making it opt-in and experimental for now would be an improvement over the status quo.
cc @daplf