在 IntelliJ Idea 14 上玩 Activator 问题 [英] Play with Activator Issue on IntelliJ Idea 14

查看:39
本文介绍了在 IntelliJ Idea 14 上玩 Activator 问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 IntelliJ IDEA 14 上遇到以下问题:

I have the following problem on IntelliJ IDEA 14:

我使用 Activator (v1.2.10) 创建了一个 Play (Scala) 项目.然后,我使用 activator idea 命令将其转换为 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 项目模型.请考虑通过 Import project 操作使用内置的 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屋!

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