我刚刚使用 activator new
创建了一个新项目,现在尝试使用 activator eclipse
使其黯然失色。但我面临一个问题:
D:\work\firebase>activator eclipse
[info] Loading project definition from D:\work\firebase\project
[info] Set current project to firebase (in build file:/D:/work/firebase/)
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error] ^
我正在使用 Typesafe Activator 1.3.2
最佳答案
将此部分附加到您的 plugins.sbt
文件中:
addSbtPlugin("com.typesafe.sbteclipse"% "sbteclipse-plugin"% "4.0.0")
Play no longer includes the sbteclipse or sbt-idea plugins, which enables users to upgrade IDE support independently of Play.
关于eclipse - 为什么 "activator eclipse"在新项目中会产生 "Not a valid project ID: eclipse"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31184818/