-
Notifications
You must be signed in to change notification settings - Fork 206
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
kotlin-compiler packages not found by IntelliJ #96
Comments
thewoolleyman
added a commit
to thewoolleyman/rules_kotlin
that referenced
this issue
Jul 12, 2018
...as a workaround to get IntelliJ to see the compiler imports. See bazelbuild#96
thewoolleyman
added a commit
to thewoolleyman/rules_kotlin
that referenced
this issue
Jul 12, 2018
...as a workaround to get IntelliJ to see the compiler imports. See bazelbuild#96
Just to check, is the project synced up ? Top right corner, red icon with yellow dot in it. I sm pushing a refactor to the sources and how they are built in a few hours. |
@thewoolleyman I've just committed some changes. It should work much more reliably now. |
Previous fix still had some problems. This last commit should work. |
closing this as the problem no longer exists as far as I can tell. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I open the
rules_kotlin
repo itself, and go to a file which useskotlin-compiler
classes,such as
kotlin/builder/src/io/bazel/kotlin/compiler/BazelK2JVMCompiler.kt
, IntelliJ fails toresolve the import paths (see attached screenshot).
I'd like these to work, because it will help me find my way around and learn the APIs faster
when hacking on this project (to add kotlin-js support, as we discussed elsewhere).
I've played with this some, and I see the reference to the compiler as a dependency
in places like this.
I think the solution is to make it automatically included as a dependency in the generated
.project/.blaze/modules/.workspace.iml
module. However, I'm unsure of the proper way to goabout that.
Happy to hack on it some more, but I'd need pointers on how to proceed.
Thanks,
-- Chad
The text was updated successfully, but these errors were encountered: