sbt run/debug configuration broken showing unknown after upgrading intellij to 2020.1

情到浓时终转凉″ 提交于 2021-01-29 05:10:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!