-
Notifications
You must be signed in to change notification settings - Fork 215
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
C interoperability support? #529
Comments
The language server sadly don't have good support for Kotlin Native, or anything other than Kotlin JVM to be honest 🙁 I have not experimented much with Kotlin Native myself, but think that it should be possible to get completion at least (based on my small experience looking into Kotlin Multiplatform projects). Hopefully we can improve the support a bit. A few question that might help me (or someone else) look into this issue 🙂
|
Okay, here's the code: It creates a window for a second then closes (although I don't know how to use pointers and structs from kotlin at the moment so the window is never moved to front) I can't test this on Windows or Linux so if you're not using macOS you will have to change the Logs
System specs:
Java (output of
|
Kotlin/Native isn't really supported yet (see #11), but if you wish to use the language server anyway, you can now use {
"kotlin.diagnostics.enabled": false
} in your settings to turn off the errors while still getting basic code completion for standard library functions etc. |
Hi, I'm not getting completion for a lot of imports even though the code compiles and works.
all four lines get highlighted in red:
Is this expected or do I need to configure something?
I wanted to try the language and I find writing a 2d software renderer to be an interesting way to learn new languages.
I could just turn off the extension but code completion would be helpful as I'm not yet entirely sure how kotlin interacts with pointers etc.
The text was updated successfully, but these errors were encountered: