When pasting Java code to a Kotlin file IntelliJ will automatically translate the code into Kotlin.
It would be ideal if something similar can be created for Swift to Kotlin via Plugin. However, so far I have seen that they only accept JVM based plugins, so SwiftKotlin can not be embedded. An idea (not explored yet) is to run the tool as command line external execution, but it will introduce restrictions as it can only be run under certain operating systems (Mac and Linux), and it will require the tool installation outside the plugin somehow.
Research if this "solution" is workable or if there are any others available that adapts better to this case.
https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html
When pasting Java code to a Kotlin file IntelliJ will automatically translate the code into Kotlin.
It would be ideal if something similar can be created for Swift to Kotlin via Plugin. However, so far I have seen that they only accept JVM based plugins, so SwiftKotlin can not be embedded. An idea (not explored yet) is to run the tool as command line external execution, but it will introduce restrictions as it can only be run under certain operating systems (Mac and Linux), and it will require the tool installation outside the plugin somehow.
Research if this "solution" is workable or if there are any others available that adapts better to this case.
https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html