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

Precise code intel support for Kotlin #304

Closed
5 of 6 tasks
olafurpg opened this issue Aug 12, 2021 · 6 comments
Closed
5 of 6 tasks

Precise code intel support for Kotlin #304

olafurpg opened this issue Aug 12, 2021 · 6 comments

Comments

@olafurpg
Copy link
Member

olafurpg commented Aug 12, 2021

Currently, lsif-java supports indexing Java and Scala projects. We're working on a SemanticDB compiler plugin for Kotlin in the repo here https://github.com/sourcegraph/lsif-kotlin

Subscribe to this issue for notifications when lsif-java index can also index Kotlin projects in Gradle/Maven.

Subtasks

@olafurpg
Copy link
Member Author

We just released https://github.com/sourcegraph/lsif-java/releases/tag/v0.6.11 with support for Kotlin Gradle builds. Please give it a try by installing lsif-java (instructions https://sourcegraph.github.io/lsif-java/docs/getting-started.html ) and run lsif-java index.

@olafurpg
Copy link
Member Author

Closing this issue since lsif-java index now indexes Kotlin Gradle projects, see https://github.com/sourcegraph/lsif-java/releases/tag/v0.6.11. Note that the Kotlin support isn't perfect yet, there are still some open issues

However, the support is already good enough that it's included with the latest release of lsif-java and we document this new functionality on the website https://sourcegraph.github.io/lsif-java/docs/getting-started.html#supported-programming-languages

@yinquanteo yinquanteo changed the title Kotlin support FY22-Q4 OKR: Precise code intel support for Kotlin Nov 11, 2021
@yinquanteo
Copy link

@olafurpg, @scalabilitysolved: I renamed this issue and added it to this dashboard. Let me know if you preferred if we took a different approach.

@scalabilitysolved / @macraig Also, I noticed that this issue is closed. Are we technically considering adding Koitlin done for the purposes of our Q4 goal?

@jyavorska jyavorska changed the title FY22-Q4 OKR: Precise code intel support for Kotlin Precise code intel support for Kotlin Nov 11, 2021
@scalabilitysolved
Copy link

scalabilitysolved commented Nov 11, 2021

@yinquanteo Kotlin hovers are the last item needing to be implemented before we'll consider Kotlin GA for our Q4 goal.

@olafurpg
Copy link
Member Author

Closing this since lsif-java v0.7.2 now supports hover messages for Kotlin 💪 Issue #353 is still open, but it's not blocking GA. We can add support for Maven Kotlin projects if there is demand for it.

@jyavorska
Copy link

Congrats team on completing the first Q4 OKR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

5 participants