Scala控制台将不工作,IntelliJ [英] Scala console won't work, IntelliJ

查看:481
本文介绍了Scala控制台将不工作,IntelliJ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了所有的偏好工作,安装scala,一切工作除了这一点,我只是不能在控制台窗口中测试一个scala类。

I did all the preference work, installed scala, everything works except this, i just can not test a scala class in the console window.

在教程中,我看到他们只是输入scala后面的东西,但它只是不能工作,我可以键入一些随机的东西在那里不做任何事情当我按回车。

In tutorials I see they just type in something behind the scala> but it just won't work, i can type some random stuff there below which doesn't do anything when I press enter.

你们能帮助我吗?我会非常感谢。
Cheers

Can you guys help me out? I would be very thankful. Cheers

推荐答案

在IntelliJ社区版中的Scala控制台上键入内容。

Once you type on the Scala console in IntelliJ Community Edition. Hit Ctrl+Enter instead of enter to execute.

花费了我一些时间来解决: / p>

took me a while to get around it :)




IntelliJ&使用Scala工作表



这篇关于Scala控制台将不工作,IntelliJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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