question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bazel plugin for Intellij sets wrong kotlin version

See original GitHub issue

I have recently upgraded to the these rules (commit ab2f9f79912a35af3c1a07849d6fb457c2bfc54b) and when trying to use Kotlin 1.3 in IntelliJ, I noticed the kotlin “Language version”/“API Version”, gets set by the Bazel plugin to be 1.2 on every ‘sync’.

  • I’m definitely using 1.3. as bazel builds from the terminal compile 1.3 features.
  • IntelliJ gives a quick-fix using alt-enter that removes the red squiggly lines, however this error comes back upon bazel sync.
  • Setting the toolchain manually allows the “Language version”/“API Version” to remain at 1.3 but the error still comes upon syncs and the quick-fix works until the next sync.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jincommented, Oct 16, 2019

This sounds like an IJwBazel issue. Transferred to bazelbuild/intellij.

0reactions
DrewKiinocommented, Mar 28, 2020

bump - can we get this fixed please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bazel - IntelliJ IDEs Plugin - JetBrains Marketplace
Features: Import BUILD files into the IDE. BUILD file custom language support. Support for Bazel run configurations for certain rule classes. Usage instructions ......
Read more >
No breakpoints debugging in Kotlin when Bazel plugin is ...
Breakpoints in Java files work fine. IntelliJ IDEA Ultimate 2017.3.3. Kotlin plugin: 1.2.20-release-IJ2017.3-1. Full command line as seen in IDEA Console (the ...
Read more >
"Plugin 'Kotlin' is not compatible with the current version of the ...
This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong. User Agreement Review now...
Read more >
Bazel - Android Studio Plugin - JetBrains Marketplace
Versions. Reviews. Bazel support for Android Studio. Features: ... Kotlin: Fix the detection of which test target to run for a newly created....
Read more >
Java version keeps getting reset to 1.5 when I change ...
Is that a Maven project? If so, see pom.xml: https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found