使用IntelliJ Idea 14上的Activator问题 [英] Play with Activator Issue on IntelliJ Idea 14
问题描述
我在IntelliJ IDEA 14上遇到以下问题:
I have the following problem on IntelliJ IDEA 14:
我使用Activator(v1.2.10)创建了一个Play(Scala)项目。然后,我使用激活器构思
命令将其转换为IDEA项目。当我用 IDEA 14 (社区版)打开项目时,SBT模块未启用。因此,类路径中不包含build.sbt文件中的新依赖项。此外,该项目未在IDEA的SBT视图中列出。
I created a Play (Scala) project using the Activator (v1.2.10). Then, I converted it to an IDEA project using activator idea
command. When, I opened the project with IDEA 14 (Community Edition) the SBT module is not enabled. Therefore, a new dependency in build.sbt file is not included in the classpath. Moreover, the project is not listed in IDEA's SBT view.
IDEA显示以下警告:
The following warning is shown by IDEA:
此IDEA项目是通过gen-idea工具从SBT项目转换而来的,该工具目前依赖于传统的Scala项目模型。请考虑通过导入项目操作使用内置SBT支持。
请注意,Scala和SBT插件已安装在IDEA上。
Note that, the Scala and SBT plugins are already installed on IDEA.
我不会在IDEA 13中遇到同样的问题。
I don't encounter with the same issue in IDEA 13.
推荐答案
显然,这是IntelliJ 14的某些版本中的一个错误,只是得到修复(从版本14.0.3开始)。更新IJ然后更新scala插件似乎使事情有效。
Apparently, this is a bug in some versions of IntelliJ 14, that just got fixed (as of version 14.0.3). Updating IJ then updating the scala plugin seems to make things work.
这篇关于使用IntelliJ Idea 14上的Activator问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!