怎么查看本机intellij scala 插件开发工具的scala插件版本号

scala入门-01-IDEA安装scala插件 - 推酷
scala入门-01-IDEA安装scala插件
由于本人一直使用IDEA开发Java项目,目前scala也可以使用IDEA开发,下载地址:
Community Edition FREE 和 &Ultimate Edition Free 30-day trial都支撑scala开发,我使用的Ultimate Edition
当我们下载IDEA后 安装并启动后,我们需要安装一个scala Plugin,操作步骤如下:
输入plugins会出现下面界面:
点击 Install JetBrains plugin..按钮
输入 scala &回出现以下界面:
点击 Install Plugin 按钮 就会自动下载scala插件了,然后自动安装后重启就会生效了
创建scala工程:File-&New Project-&Scala-&SBT-&Next-&输入项目名称-&Finish
因为我们使用的SBT方式,所以需要IDEA自动构建
SBT自动构建完成后:
创建scala类:右击src下的main下的scala弹出“New”选择 “Scala Class”
Name:输入MyFirstScala,Kind:选择 Object ,点击确定
通过使用Ctrl+J快捷键,可以生成main方法和println方法
按快捷键Ctrl+Shift+F10或者在本类右击点击 Run&MyFirstScala&运行
如果提示要配置JDK,只要按照流程正常配置下就可以了,这里我就不在详细叙述了
已发表评论数()
请填写推刊名
描述不能大于100个字符!
权限设置: 公开
仅自己可见
正文不准确
标题不准确
排版有问题
主题不准确
没有分页内容
图片无法显示
视频无法显示
与原文不一致Scala Plugin for IntelliJ IDEABrowse pages
Scala Plugin turns
to a convenient Scala development environment.If it's the first time you're seeing this page, you should strongly consider reading .You're probably wondering what exactly Scala plugin can do for you. Figure it out right now.
you can find some tutorials about Scala plugin.The Roadmap, as you have probably expected, gives you a bit of insight into what will become of us.So, if you're curious, read it: .Reading this page is not probably going to take all of your day, so we've collected this bunch of links to keep you entertained. — a source of news, hints and feature announcements. — a great place to exchange experience. — a must-read source of first-hand info about Scala.If you've found a bug, a glitch, anything that doesn't work well, or as you think it should —in other words, you have what we call feedback, you're welcome to our .You can submit bug reports and, what's even more exciting, your ideas of new features.If you feel like you've got time to play with the plugin code yourself — visit .
Ask questions on
Submit bugs & feature requests to
type inference is far from perfection: in the following simple example i'm getting 'No suggestions' when trying to get autocomplete after 'yield b.'
object Test {
def a(s: String) = Some(s)
def main(args: Array[String])
Unknown macro: {
val x = List(&1&, &2&, &3&)
println(for (y &- b &- a(y)) yield b)
You guys are doing really great work, but could you tell us what are you plans on the things i noted above.
Thanks in advance.
Content ToolsIntelliJ IDEA 安装scala开发插件
IntelliJ IDEA 安装scala插件,建立scala with sbt project 的方法
1、下载安装IntelliJ IDEA,并安装scala插件
我下载的是linux的13版本,linux版本是绿色版本,有一个启动的脚本,运行就可以了,也可以在linux建立快捷方式。windows的版本下载,点下一步,下一步就能安装。下一步安装scala插件,开启idea,在欢迎界面点Configure-&;Plugin-&Browse repositories...搜索scala,然后点install plugin安装完,重启
2、建立scala with sbt project
还是在欢迎界面点Create New Project Project界面选scala sbt 下一个页面,填写Project名称和目录,JDK选择java jdk,具体安装见
建立好Project后,在Project主目录右键新建directory 如下图:
然后建立hello.scala文件,如下图:
然后,输入打印hello world 吧
object hello extends App {
println(&hello world&)
hello extends
&&println(&hello world&)
继续,在hello.scala上,点右键选择 Make Module “projetName”,漫长等待,idea自动去maven repo下载依赖jar包
等idea把相关jar包下载完成后,就可以在hello.scala上点击右键选择run,或者debug scala程序了
debug scala程序模式编译方式还是调用idea的make方法,需要修改为sbt的方式compile方式
看过本文的人也看了:
我要留言技术领域:
取消收藏确定要取消收藏吗?
删除图谱提示你保存在该图谱下的知识内容也会被删除,建议你先将内容移到其他图谱中。你确定要删除知识图谱及其内容吗?
删除节点提示无法删除该知识节点,因该节点下仍保存有相关知识内容!
删除节点提示你确定要删除该知识节点吗?}

我要回帖

更多关于 intellij scala sdk 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信