针对Scala的Intellij Idea设置,需要澄清 [英] Intellij Idea setup for Scala, clarification needed

查看:361
本文介绍了针对Scala的Intellij Idea设置,需要澄清的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用IntelliJIdea 12,我下载了Scala插件并创建了一个HelloWorld应用程序。

Using IntelliJIdea 12, i downloaded the Scala plugin and created a HelloWorld application.

以下导入似乎很奇怪。为什么IDEA不承认这是Scala应用程序?我的设置是否不完整?

The following import seems odd. Why does IDEA not recognize this to be a Scala Application? Is my setup incomplete?

我检查了我的编译器指向的位置并得到了这个。没有真正看到将IDEA导航到我的scala安装的方法。

I checked to see where does my compiler points to and got this. Don't really see a way to navigate IDEA to my scala installation.

请提供建议。

推荐答案

从向导创建新的Scala项目时IDEA可以为您下载和配置所有内容:

When creating a new Scala project from the wizard IDEA can download and configure everything for you:

稍后可以在 Scala Facet 中更改设置:

Settings can be changed later in the Scala Facet:

编译器

库配置:

可以使用代码和导入完成来自 Scala 库的文件:

Code and imports completion is available from the Scala library:

这篇关于针对Scala的Intellij Idea设置,需要澄清的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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