ensime/ensime-server — pull request #512 by marcsaegesser (2014-07-14 02:54:22+00:00)
Title: Support for Scala 2.11

This adds support for Scala 2.11 to ENSIME.

The pull request is composed of two commits. The first makes changes that are prerequisites for supporting Scala 2.11 but that are still applicable to Scala 2.10. These changes include logging of stack traces using SLF4J and ActorLogging, adding additional pattern matches for completeness, avoiding deprecation warnings for upcoming changes to `Console` and moving ZipArchive from scala.tools.nsc.io into scala.reflect.io.

The Scala 2.11 specific changes include the following:

1. The main Scalariform project in github has gone silent and has not updated to support 2.11. Daniel-trinh has picked up support for Scalariform and made the necessary changes. If the main Scalariform project comes back online we can investigate switching back.

2. I'm using a wartremover from a slightly older 2.11 release because only wartermover-0.10 is built with the current 2.11 but that release is broken and we need to use version 0.9. I'll switch to a new version as soon as one becomes available.

3. The preserveDanglingCloseParenthesis option was removed in Scalariform-0.1.5. This was removed from ProjectConfig.scala and the doc was updated to note that it is not supported in 2.11 and later.

4. Changes to some compiler constants and a couple API methods.