On 06/14/2015 04:54 PM, Eax Melanhovich wrote:
> Hello.
>
> Recently I installed Scala IDE 4.1.0 on Ubuntu Linux 14.04 LTS with
> Scala 2.11.6 and Oracle Java 8. There were a number of problems, but
> most of them I managed to solve with help of Google. Could you please
> help me with a few that have left?
>
> 1. Does Scala IDE support sbt multi-projects?
Sure it does. If it doesn't for you, there is probably a configuration
error in your Eclipse projects. Maybe sbteclipse can't handle your
specific project layout.
> In our project a
> 'backend' sub-project depends on 'commons' sub-project. When classes
> and methods defined in 'commons' are used from 'backend' ScalaIDE
> highlights corresponding lines like this:
When you look at the build path of "backend" (right click on project >
properties > Java build path) the "commons" project should be added in
the "Projects" tab.
>
>
http://imagizer.imageshack.com/img661/9015/4pgtqq.png
>
> In the same project ScalaTest plugin doesn't run any tests. Maybe there
> is some workaround for this?
>
> 2. In simple Akka-based project ScalaIDE does not show ScalaDoc for
> some methods, e.g. system.actorOf:
>
>
http://i.imgur.com/2yzPfHj.png
>
> Project was generated using `sbt 'eclipse with-source=true'` command
> and all source files are present. Maybe in this case instead of F2 I
> should use some other hotkey?
You can enable debug logging in Preferences > Scala > Logging. You
should then get more output in the log that hopefully explains why no
Scaladoc is shown.
>
> 3. It seems that Ctr+Shift+Space doesn't work at all. Do I right
> understand that it suppose to give a hint regarding method arguments,
> like Ctr+P in IntelliJ IDEA? Or there is another hotkey for this?
>
>
I understand what you mean but this feature is not supported by the
Scala editor (actually I don't even know if it is supported by the Java
editor).