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
3
votes
2 answers

How to make Scala implicits explicit in Eclipse

According to "Programming in Scala" one can pass the argument -Xprint:typer to the compiler and gets the code back as it looks after all the implicites are actually applied. I also found that I can set compiler arguments in the project…
Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
3
votes
1 answer

Scala-IDE References search in Workspace/Project/Hierarchy

I am working on a financial app development in Scala (2.9.0-1) full time in IntelliJ 10.5 last few month and looking into moving to eclipse-ide on and off a few times. One show stopper has been that class or method reference search by "Reference ->…
BG KO
  • 31
  • 2
3
votes
1 answer

@Test method in Scala trait not found

does somebody know why @Test annotated methods which are inherited from a Scala trait are not found by the JUnit 4 test runner? It gives me "No JUnit tests found". class FooTests extends BarTesting But the following modification works? import…
Tim Friske
  • 2,012
  • 1
  • 18
  • 28
3
votes
3 answers

Issue while installing Scala IDE in Eclipse

I am trying to install the Scala in Eclipse Galileo 3.5, but I got the following error: Error Message: Cannot complete the install because one or more required items could not be found. Software being installed: JDT Weaving for Scala…
pkol
  • 144
  • 2
  • 4
  • 9
3
votes
1 answer

How can I import all unimported classes in Scala IDE?

When I use Java with Eclipse and write a class, sometimes I have to import classes. The fastest way to do that is with a keyboard shortcut: CtrlShiftO. But this keyboard shortcut seem to be broken in Scala IDE. It opens an empty "Refactoring" popup…
Jonas
  • 121,568
  • 97
  • 310
  • 388
3
votes
2 answers

Adding joda-time as manageable dependency via sbt

I'm having trouble using joda-time in my scala project in scala-ide. I have the following line: import org.joda.time.DateTime But it causes the following error: object joda is not a member of package org That's what I did: I put these lines in…
Vadim Samokhin
  • 3,378
  • 4
  • 40
  • 68
3
votes
2 answers

Scala IDE doesn't show documentation during autocomplete hints

I can't see any documentation when I press "Ctrl + space" to see all the available functions. For instance, in a Java class I can see the javadoc associated with each method: But when I try to view the same information in a Scala worksheet, I can't…
jfcorugedo
  • 9,793
  • 8
  • 39
  • 47
3
votes
1 answer

Why Scala `var` is highlighted red in Eclipse

Does anyone know if the subj is expected or IDE is trying to warn me about something? My Eclipse is Mars Release (4.5.0) Scala IDE for Eclipse 4.3.0.v-2_11-201512011536-499c89a
Vlad.Bachurin
  • 1,340
  • 1
  • 14
  • 22
3
votes
0 answers

disable parallelExecution in a scala gradle project

I am learning scala in eclipse scala ide and the project is build using gradle. Just wondering, how to disable parallelExecution of scala tests. Solution described in below stackoverflow questions is using sbt build. How to run subprojects tests…
mogli
  • 1,549
  • 4
  • 29
  • 57
3
votes
2 answers

Correct play template files are showing validation error in Scala IDE

I have installed latest release of scala IDE (Build id: 4.1.0-vfinal-20150525-1102-Typesafe) to work on my playframework (version 2.4) project. I am able to compile my project and its running as expected but play template files inside the views…
Vinay
  • 1,280
  • 2
  • 13
  • 18
3
votes
4 answers

Running Spark Application from Eclipse

I am trying to develop a spark application on Eclipse, and then debug it by stepping through it. I downloaded the Spark source code and I have added some of the spark sub projects(such as spark-core) to Eclipse. Now, I am trying to develop a spark…
RagHaven
  • 4,156
  • 21
  • 72
  • 113
3
votes
3 answers

Error in Scala Compiler: java.lang.AssertionError: assertion failed (even when project dependency is specified in Eclipse)

I get the following error(stack trace at the end) when I try to compile my Scala project in Eclipse. It says that assertion failed on a Java class TransportConf (which is in a project spark-network-common which is specified in the Java Build Path).…
RAbraham
  • 5,956
  • 8
  • 45
  • 80
3
votes
0 answers

How to generate project files for Scala IDE with sbt-eclipse for builds with ProjectRefs?

I referenced to another project using the following code in project/build.scala: object MyProjectBuild extends Build { lazy val root = Project("my-project", file(".")) dependsOn(securesocial) lazy val securesocial =…
Amir Karimi
  • 5,401
  • 4
  • 32
  • 51
3
votes
2 answers

Eclipse doesn't recognize Scala source directory

I installed Maven Scala support from http://alchim31.free.fr/m2e-scala/update-site/, and the Scala IDE plugin using the Eclipse Marketplace. I can build the project using the command line with mvn compile. Eclipse highlights Scala code nicely, and…
janos
  • 120,954
  • 29
  • 226
  • 236
3
votes
1 answer

Working with java and scala in eclipse

Am working on a project, it contains both java and scala classes. My folder structure: is src>main>java -> for java classes src>main>scala -> for scala classes When am importing scala classes in java, eclipse saying that no type found. I already…
Dilip Kumar
  • 2,504
  • 2
  • 17
  • 33