如何在Ubuntu 12.04中的Eclipse / Scala-IDE工作表中获取内联结果? [英] How to get inline results in a worksheet in Eclipse/Scala-IDE on Ubuntu 12.04?

查看:106
本文介绍了如何在Ubuntu 12.04中的Eclipse / Scala-IDE工作表中获取内联结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Mac上安装了Scala-IDE,并在Ubuntu 12.04上安装了我的电脑。在那里我创建了一个项目,一个包,并在那里有一个工作表。在我的mac上,工作表显示了右边同一行的每一行的结果。例如:

I've got the Scala-IDE installed on my Mac and on my pc with Ubuntu 12.04. In there I created a project, with a package and in there a worksheet. On my mac, the worksheet shows results of every line on the same line on the right. For example:

package mypackage
object myworksheet {
    println("Hello World!")                                  > Hello World!
}

然而,在Ubuntu上,我没有看到结果。我已经尝试在工作表中进行更改并保存它,但没有任何区别。

On Ubuntu however, I do not see the result on the right. I've tried making changes in the worksheet and saving it, but it makes no difference.

有人知道如何在我的Ubuntu机器上获取这些内联结果

Does anybody know how I can get these inline results on my Ubuntu machine as well?

推荐答案

我有同样的问题,添加-Dfile.encoding = UTF8到eclipse.ini修复了问题。

I had the same issue, adding -Dfile.encoding=UTF8 to eclipse.ini fixed the issue.

有关详细信息,请参阅以下问题的答案: Scala Worksheet中的结果编码Eclipse插件

For more details look at answer to the question: Results encoding in Scala Worksheet Eclipse plugin

这篇关于如何在Ubuntu 12.04中的Eclipse / Scala-IDE工作表中获取内联结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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