Questions tagged [scala-ide]

The Scala IDE is the Eclipse plugin for Scala

The Scala IDE is the Eclipse plugin for Scala.

The official homepage is scala-ide.org.

To raise bugs against the Scala IDE, see Assembla bug tracker.

If you wish to contribute to scala-ide, see scala-ide on github.

339 questions
2
votes
1 answer

Why does ScalaIDE not break on breakpoints I set in unit tests?

At first I had difficulty attaching a debugger to FakeApplication instances created by my unit tests. Now I can see threads starting when my tests run, but breakpoints I set within Scala IDE in the test and in the tested code are ineffectual. Is…
Meredith
  • 3,928
  • 4
  • 33
  • 58
2
votes
1 answer

Why Scala IDE cannot compile a method even though proposing it?

I am repeatedly run into a similar problem with Scala IDE. Thanks to tab completion Scala IDE proposes several methods. However, always when I choose a method it complains that it cannot resolve it. In the screenshot, I select the method findByEan…
Jon
  • 11,356
  • 5
  • 40
  • 74
2
votes
1 answer

How run 'sbt update' in eclipse IDE?

I wrote project dependency set in build.sbt libraryDependencies ++= { Seq( "net.liftweb" %% "lift-webkit" % liftVersion % "compile", "net.liftweb" %% "lift-mapper" % liftVersion % "compile", ) } next, in terminal…
bistros
  • 1,139
  • 1
  • 9
  • 23
2
votes
1 answer

Configuring Scala Debugger for Scala IDE

I'm trying to configure Scala Debuger. I have specs2 tests: @RunWith(classOf[JUnitRunner]) class DictionaryTest extends Specification { ... I've downloaded preconfigured default scala-ide. Turn on scala debugger by default like was said on the…
ses
  • 13,174
  • 31
  • 123
  • 226
2
votes
2 answers

Debuggin single lines in Scala

A single of code can achieve a lot in Scala. def -(that: Nat) = if (that.isZero) this else throw new Error("negative number") However, it is difficult to debug. Any tips?
More Than Five
  • 9,959
  • 21
  • 77
  • 127
2
votes
1 answer

.jar files cross-compiled with an incompatible version of Scala (2.10)

I am building my first Scala/Play application and after I create and import an eclipse project from the Play shell, I get 17 errors. akka-actor_2.10.jar is cross compiled with an incompatible version of Scala (2.10) akka-slf4j_2.10.jar is cross…
WrksOnMyMachine
  • 301
  • 3
  • 16
2
votes
1 answer

Using a custom enum in the Scala Worksheet I am receiving an error: java.lang.ExceptionInInitializerError

UPDATE - 2014/Sep/17 It turns out that even the solution in the prior update (from 2013/Feb/19) fails to work if one places println(Value.Player2) as the first command; i.e. the ordinals are still assigned incorrectly. I have since created a…
chaotic3quilibrium
  • 5,661
  • 8
  • 53
  • 86
2
votes
1 answer

Scala Actors in Scala 2.10 don't get recognized

I recently updated to Eclipse Juno, which also updated my Scala to 2.10. I know that Actors are deprecated now, but I'd still like to use them. The scala-actors.jar and scala-actors-migration.jar are part of my Eclipse build path, however, I get…
johnny
  • 8,696
  • 6
  • 25
  • 36
2
votes
3 answers

Using Akka in Scala IDE

I have Scala IDE already setup because I used it for Coursera course "Functional Programming Principles in Scala" by Martin Odersky. Now i want to use Akka framework in the same IDE. Is there any Scala IDE Akka plugin available which i can import…
weima
  • 4,653
  • 6
  • 34
  • 55
2
votes
1 answer

Using logback.xml with Scala Worksheet

Scala Worsheet sets the logger output to debug, which causes third-party libraries (Slick in this case) to print out heaps of logging info. Is there any way I customise the logger to put specific libraries at 'info' level. I have a logback.xml file…
Jack
  • 16,506
  • 19
  • 100
  • 167
2
votes
1 answer

Why would a Scala Worksheet using Scala-IDE give this as an error?

In a Scala worksheet I can do this: object Play { println("Playing a bit") //> Playing a bit case class X(a: Int = 1, x: List[X]){ } } but I can't do this: object Play { case class X(a: Int = 1, x: List[X]){ …
Jack
  • 16,506
  • 19
  • 100
  • 167
2
votes
1 answer

How to disable Scala assertions in Eclipse?

I want to work with assertions in a Scala program. The assertions should be turned off for the final version of the program for increasing the performance. There seem to be two Scala compiler flags enabling this (the first one requires an additional…
fbeck
  • 153
  • 4
2
votes
2 answers

Should I install Scala separately for command line and Eclipse IDE?

I've installed Scala IDE for Eclipse using the update mechanism, and then I found that there's no command line tools included there. So is it correct that I should download another copy of Scala package for the command line support and maintain both…
K J
  • 4,505
  • 6
  • 27
  • 45
2
votes
1 answer

Loading Native library in Scala Compiler Plugin

I am developing a scala compiler plugin. The compiler plugin runs after the "refcheck" phase. It analyzes the AST(Abstract Syntax Tree) and generates some output. In this plugin, I am loading a native library "scalaz3.dll" using System.loadLibrary I…
dips
  • 1,627
  • 14
  • 25
2
votes
2 answers

Scala-IDE - object `apply` methods with different signatures get mixed?

The code: object Link { //TYPE-1 (purely functional) def apply(name: String, target: Page, f: () => Unit, isExclusive: Boolean) = new Link(name, target, f, isExclusive) //.. //TYPE-2 (purely side-effect) def apply(source: Page, target:…
noncom
  • 4,962
  • 3
  • 42
  • 70