IntelliJ 14 - 创建/导入Scala / SBT项目 [英] IntelliJ 14 - Create / Import a Scala / SBT project

查看:217
本文介绍了IntelliJ 14 - 创建/导入Scala / SBT项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ 14通过Scala插件支持(理论上)SBT / Scala项目,该插件仍在官方仓库中提供。根据此帖Scala插件项目本身现在使用SBT进行构建和依赖管理。但是我找不到用IntelliJ创建或导入SBT / Scala项目的任何方法。还缺少文档来解释有关这种配置Scala插件的新方法的更多信息。

IntelliJ 14 supports (in theory) SBT / Scala projects through the Scala plugin, which is still available in the official repo. According to this post "Scala plugin project itself now uses SBT for build and dependency management". However I cannot find any way to create or import a SBT / Scala project with IntelliJ. There is also a lack of documentation explaining more about this new way of configuring the Scala Plugin.

我在IntelliJ Ultimate 14.0(139.224)中激活了Scala插件。有什么想法?

I have the Scala plugin activated in the IntelliJ Ultimate 14.0 (139.224). Any ideas?

推荐答案


  1. 安装scala插件。 设置 - >插件 - > Scala - >安装

  2. 使用sbt build打开目录:文件 - >打开项目 - >使用build.sbt选择目录 - >配置设置

  1. Install scala plugin. Settings -> Plugins -> Scala -> Install
  2. Open directory with sbt build: File -> Open Project -> select directory with build.sbt -> configure settings

这对我来说只是几分钟前。可能需要重置缓存并重新启动:文件 - >使高速缓存无效/重新启动

That worked for me just a couple of minutes ago. It may be necessary to reset cache and restart: File -> Invalidate Caches / Restart.

这篇关于IntelliJ 14 - 创建/导入Scala / SBT项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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