在将intellij升级到2020.1后,sbt运行/调试配置损坏,显示未知 [英] sbt run/debug configuration broken showing unknown after upgrading intellij to 2020.1

查看:68
本文介绍了在将intellij升级到2020.1后,sbt运行/调试配置损坏,显示未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我刚刚将IntelliJ社区版本升级到最新版本2020.1.我所有的 SBT 运行/调试配置均已损坏,当前在编辑配置"下显示未知.

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.

我已经检查了workspace.xml,并且配置似乎正确.

I have checked the workspace.xml and configuration seems correct.

我还检查了我是否拥有最新的SBT插件.

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.

推荐答案

几个小时后,终于弄清楚如何修复配置并使它们重新出现.我必须更改.idea文件夹下的 workspace.xml .在以下位置查找您的运行配置:

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">

似乎使用了以前的Intellij版本: factoryName ="sbt Task" .请注意小写的 sbt .

Seems the previous Intellij version used: factoryName="sbt Task". Note the lower case sbt.

新版本使用大写字母: factoryName ="SBT Task"

New version uses upper case: factoryName="SBT Task"

在我所有的配置上更改此设置后,它又恢复了工作.

After changing this on all my configurations it worked again.

这篇关于在将intellij升级到2020.1后,sbt运行/调试配置损坏,显示未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆