I have cloned the latest version of sbt's sources from the git repository and started browsing the Scala code. I am using Eclipse (Kepler) and the Scala compiler seems to choke on several files in util/collection/src/main/scala
.
For example, TypeFunctions.scala contains the trait ~> with 2 methods which have bizarre-looking names ∙
.
This weird-looking character only appears as a single symbol if I use UTF-8 encoding for the file. A binary editor shows it as a sequence of these 3 hex values: E2 88 99
Can anyone explain this please?
However, when I change the file's encoding it doesn't fix the Eclipse's Scala compiler problem. I think it means, the compiler should, but doesn't look at this setting. There is a number of various options that can be set for Eclipse's Scala plugin and none seems to be related to the file encoding.
I am actually quite impressed by IntelliJ's ability to import SBT projects. I might even decide to switch to it from Eclipse :-). – Krzysiek Novak Aug 02 '14 at 09:19