IntelliJ IDEA:无法导入 SBT 项目 [英] IntelliJ IDEA: Cannot import SBT project
问题描述
我完全不熟悉使用 Play 或 IntelliJ 进行开发.我使用 Activator 创建了一个简单的 HelloWorld 应用程序,这是一个 sbt
项目.
I'm completely new to development using Play or IntelliJ for that matter. I've created a simple HelloWorld application using Activator, and this is an sbt
project.
我一直在尝试将其导入 IntelliJ,这是我卡在的屏幕:https://www.dropbox.com/s/we1a4a3184sojvb/Screenshot%202014-07-24%2016.57.11.png
I've been trying to import this to IntelliJ and this is the screen I'm stuck at: https://www.dropbox.com/s/we1a4a3184sojvb/Screenshot%202014-07-24%2016.57.11.png
在我浏览过的几乎所有在线教程中,我都看到有人在导入屏幕上使用 sbt
选项.我也安装了 SBT 插件,但这并没有帮助.我已经多次重启 IntelliJ 无济于事.
In almost all tutorials I've been through online, I've seen people using an sbt
option on the import screen. I've installed the SBT plugin as well, but that hasn't helped. I've restarted IntelliJ several times to no avail.
我哪里错了?我正在运行 13.1.4
并安装了 SBT
插件.
Where am I going wrong?
I'm running 13.1.4
with the SBT
plugin installed.
推荐答案
经过一系列的挣扎,我必须说一些奇怪的东西解决了这个问题——迁移到 IntelliJ IDEA Ultimate.它内置了 Play 应用程序支持,可以开箱即用地运行/调试/测试应用程序,非常方便.
After a series of struggles, I must say something weird solved this problem – moving to IntelliJ IDEA Ultimate. That has built in Play application support and can run/debug/test the application out of the box, which is very handy.
在这次体验之后,我只能说,如果您希望开箱即用,JetBrains 希望您升级到 Ultimate.
All I can say after this experience was that JetBrains wants you to upgrade to Ultimate if you want things to work right out of the box.
我确信有办法让 CE 也能做到这一点,但我没有成功.
I'm sure there are ways to get this working with CE also, but I wasn't successful with that.
这篇关于IntelliJ IDEA:无法导入 SBT 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!