How to get inline results in a worksheet in Eclipse/Scala-IDE on Ubuntu 12.04?

kramer65 picture kramer65 · Aug 1, 2013 · Viewed 10.6k times · Source

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!
}

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.

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

Answer

fgui picture fgui · Sep 16, 2013

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

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