10

For a project of mine I need to use Kotlin 1.0.0-1038 (beta), but to install it I probably need to uninstall the newer version of kotlin, but it has no uninstall button where it should have.

How would I downgrade Kotlin? IntelliJ IDEA 15.0.4

SJ19
  • 1,933
  • 6
  • 35
  • 68
  • Did you try downloading an old version of the plugin manually and using "install plugin from disk"? – Jayson Minard Feb 26 '16 at 10:51
  • Yes, but nothing seems to change, because I cannot get rid of the newer version. – SJ19 Feb 26 '16 at 11:01
  • There is no good way to downgrade the bundled Kotlin plugin. The best thing you can do is upgrade your project to Kotlin 1.0. – yole Feb 26 '16 at 12:00

1 Answers1

3

IMPORTANT UPD: as @yole commented, this is a bad solution as it will break things. There is no proper way to downgrade a bundled plugin without breaking the installation. Instead, consider upgrading the project to the up-to-date Kotlin version.

You have the plugin bundled with IntelliJ IDEA. On your own risk, you can delete its folder manually from IntelliJ IDEA installation (plugins/kotlin subfolder). After that you will be able to install whatever compatible version of the plugin from zip distribution, but your IDEA installation will be broken (see the comment).

hotkey
  • 140,743
  • 39
  • 371
  • 326
  • 6
    Please don't give this advice. Deleting the bundled Kotlin plugin breaks future patch upgrades and also breaks the digital signature of the app bundle on Mac OS X. – yole Feb 26 '16 at 11:57
  • 2
    I honestly don't care at this point, I won't be using Kotlin for anything else but this project (which only supports the version i mentioned). If I ever need to update I'll just re-install. Thank you so much for this solution! – SJ19 Feb 26 '16 at 12:14
  • Sometimes the current kotlin plugin version is broken. So you need to downgrade anyway – Renascienza Jun 19 '21 at 18:27