问题
I just upgraded IntelliJ community edition to latest version 2020.1 as of today. All my SBT run/debug configurations are broken and currently show Unknown under Edit configuration.
I have checked the workspace.xml and configuration seems correct.
I have also checked I've got the latest SBT plugin.
Any help or pointers will be much appreciated as I have dozens of projects with lots of configurations so will be annoying to have to create them again.
回答1:
After a couple of hours finally figure out how to fix the configuration and made them re-appear. I had to change the workspace.xml under the .idea folder. Look for your run configuration under the:
<component name="RunManager">
Seems the previous Intellij version used: factoryName="sbt Task". Note the lower case sbt.
New version uses upper case: factoryName="SBT Task"
After changing this on all my configurations it worked again.
来源:https://stackoverflow.com/questions/61246546/sbt-run-debug-configuration-broken-showing-unknown-after-upgrading-intellij-to-2