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

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

问题描述

我做了所有的偏好工作,安装了 scala,除此之外一切正常,我只是无法在控制台窗口中测试 scala 类.

在教程中,我看到他们只是在 scala 后面输入了一些东西> 但它不起作用,我可以在下面输入一些随机的东西,当我按下回车键时不会做任何事情.

你们能帮帮我吗?我将非常感谢.干杯

解决方案

在 IntelliJ Community Edition 的 Scala 控制台上键入后.按 Ctrl+Enter 而不是回车执行.

我花了一些时间来解决它:)

<块引用><块引用><块引用>

IntelliJ &使用 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.

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.

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

解决方案

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

took me a while to get around it :)

IntelliJ & Working with Scala Worksheet

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

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