问题描述
我做了所有的偏好工作,安装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 + instead of enter to execute.
花费了我一些时间来解决: / p>
took me a while to get around it :)
这篇关于Scala控制台将不工作,IntelliJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!