使用sbt shell进行构建和导入 [英] Use sbt shell for build and import

查看:195
本文介绍了使用sbt shell进行构建和导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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配置, 这将导致错误,迫使用户另外使用外壳程序 到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外壳或服务器(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屋!

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