Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an IntelliJ/AndroidStudio plugin for the converter #74

Open
angelolloqui opened this issue Apr 15, 2018 · 4 comments
Open

Create an IntelliJ/AndroidStudio plugin for the converter #74

angelolloqui opened this issue Apr 15, 2018 · 4 comments
Labels

Comments

@angelolloqui
Copy link
Owner

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

@romakononovich
Copy link

romakononovich commented Aug 14, 2018

+++

@beilly
Copy link

beilly commented Jan 28, 2019

Is there any linux command tools?

@angelolloqui
Copy link
Owner Author

Is there any linux command tools?

AFAIK SwiftKotlin command line tool has not been tested in Linux, and my guess is that it will not work out of box. However, dependencies used are Linux compatible (I believe) and therefore it should be possible to make it run on Linux with not much work. How does that relate to this issue?

@githubashutoshsoni
Copy link

yes running this on ubuntu would be great. idk haven't tested it yet but gonna give it a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants