AndroidIDE
AndroidIDE copied to clipboard
[FEATURE]: Add Kotlin LSP
Is your feature request related to a problem? Please describe. Yes. When editing Kotlin code, no suggestions are displayed for imports.
Describe the solution you'd like Automatically add imports and display suggestions for functions.
Describe alternatives you've considered No. AndroidIDE is one of its kind.
Additional context N/A
It'll be added soon. Currently I'm focusing more on other issues.
Ok
This repository may help in Kotlin LSP https://github.com/fwcd/kotlin-language-server/tree/main/server/src/main/kotlin/org/javacs/kt
You could look at how CodeAssist implements Kotlin code completion https://github.com/tyron12233/CodeAssist/tree/main/kotlin-completion
I also work for Kotlin completion support in this app. So don't worry.
I have also faced Kotlin compilation problem. I get stuck at 'compileDebugKotlin' and it says 'Could not perform incremental.... Could not connect to kotlin deamon...'
@abdulbasid123 Are you using apk from Releases section? Or you using the latest apk from Actions?
@abdulbasid123 Are you using apk from Releases section? Or you using the latest apk from Actions?
If you mean the AndroidIDE apk, I downloaded it from the official website.
I tried to compile a project in Kotlin, but failed, it says that couldn't not connect to the deaom (or something like this), and it couldn't not perform incremental.... Blablablabla.
Any help would you offer to me ?
@abdulbasid123 Are you using apk from Releases section? Or you using the latest apk from Actions?
If you mean the AndroidIDE apk, I downloaded it from the official website.
I tried to compile a project in Kotlin, but failed, it says that couldn't not connect to the deaom (or something like this), and it couldn't not perform incremental.... Blablablabla.
Any help would you offer to me ?
Difficult question. Probably there was two opinions, why it notices. First - not implemented daemon in app, and second - no daemon for architectures aarch64-linux-android, armhf-linux-androideabi and blablabla I think, this bug can fix community, what have got a good PC for compiling daemon, or developer. You probably can try to fix it yourself (compile daemon and seek, how it works), but you need lots of time to find and compile this daemon (actually, it need to be at jetbrain's repositories), but no way it will work. Finally, if you really need to compile something on this app tomorrow, write on Java) There wasn't any bugs from implementation) Or, if is very badly, use GitHub Actions (but you need private repository) and build app with Android CI (see .github/workflows/android_ci.yml or something same in this repository). Hope the developer adds full compilation support for kotlin ...
Hi @itsaky! When will the Kotlin auto-complate feature be added?
Hi @itsaky! When will the Kotlin auto-complate feature be added?
See isaky's message for 10 months ago.