我的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
发布评论