如何在Ubuntu 12.04中的Eclipse / Scala

编程入门 行业动态 更新时间:2024-10-11 01:09:57
本文介绍了如何在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

本文发布于:2023-11-25 18:11:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630801.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   Ubuntu   Eclipse   Scala

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!