使用 sbt shell 进行构建和导入 [英] Use sbt shell for build and import
问题描述
IntelliJ 中有这个选项.它有什么作用?我们什么时候应该启用它,什么时候不启用?
There is this option in IntelliJ. What does it do? When should we enable it and when not?
[ ] 使用 sbt shell 进行构建和导入(需要 sbt 0.13.5+)
[ ] Use sbt shell for build and import (requires sbt 0.13.5+)
推荐答案
目前在sbt项目中,导入了项目设置,但是编译是通过 Scala 插件提供的编译器完成的.在一些不能很好地映射到 IDEA 项目模型的 sbt 配置,这将导致错误,迫使用户另外使用 shell到 IDE.
Currently in sbt projects, project settings are imported, but compiling is done via the compiler providede by the Scala plugin. In some sbt configurations that don't map well to the IDEA project model, this will result in errors, forcing users to use the shell in addition to the IDE.
为了更好的集成,我们希望 Scala 插件能够控制一个 sbt shell 或服务器(sbt 1.0 中的新功能)
For a better integration, we want the Scala plugin to be controlling an sbt shell or server (new functionality in sbt 1.0)
这篇关于使用 sbt shell 进行构建和导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!