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.

341 questions
0
votes
2 answers

Why can't scala-ide refresh change in java classes in scala editor?

I found a problem using scala-ide 2.1.0 m2. I'm developing a java/ scala mixed project. When I add a method in java class and call it in scala. Scala Ide will report an error that the method doesn't exists. I tried to refresh the project but I got…
CharlieQ
  • 789
  • 6
  • 10
0
votes
1 answer

How to reference third-party libraries, eg breeze, from eclipse, when working with Scala

I have Eclipse, with eclipse-ide plugin installed, and with 'sbt' selected as the builder. I want to use a third-party library, specifically scala-breeze, and I'm not sure how to instruct eclipse/scala-ide to fetch and install this?
Hugh Perkins
  • 6,646
  • 6
  • 50
  • 63
0
votes
3 answers

Is there any way to search from the Project Explorer in Scala IDE or Eclipse?

I've recently switched to Scala-IDE for Scala development, especially since they added Scala Worksheets - what a cool feature. Anyways, my biggest gripe with Eclipse is searching for text. I was unable to find an add-on or mechanism that would allow…
Jack
  • 15,582
  • 17
  • 86
  • 162
0
votes
1 answer

Scala outputs on the command-line, but not in Eclipse Scala IDE

I don't know what's going on or even how to figure it out, but I have a Scala Hello World object, like this. object TestFoo { def main(args: Array[String]): Unit = { println("Hello World") } } The Scala IDE for Eclipse (for Scala 2.9,…
zostay
  • 3,875
  • 17
  • 30
0
votes
1 answer

Scala-IDE: How to compile and execute multiple source code files in Eclipse?

I am reading Martin Odersky's Programming in Scala, and I have been using vi and the command line to compile so far. I want to learn to use Eclipse and the Scala-IDE plug-in, but I lack a basic understanding of compiling and executing multiple…
David Kaczynski
  • 1,186
  • 2
  • 16
  • 34
0
votes
1 answer

In Scala IDE for Eclipse - Scala Interpreter defines the module but while accessing members - gives error: is not member of

The Rectangle module is defined but why the evaluation R.length and R.area is giving error : value area is not a member of Rectangle. Any improvement in defining Rectangle module? Better code? The Code: class Rectangle(l:Double, w:Double) { …
Optimight
  • 2,809
  • 3
  • 25
  • 42
-1
votes
1 answer

ubuntu scala ide - spark - toDF Method error value toDF is not a member of org.apache.spark.rdd.RDD[String]

i m facing issue with scala IDE (ubuntu), method toDF not working correcly see my code import org.apache.spark.SparkContext import org.apache.spark.SparkConf import org.apache.spark.rdd.RDD object ScalaTextSearch { def main(args: Array[String])…
-1
votes
1 answer

Why am I getting the error "no find or load main class"

I am getting the same error again and again. It does not show any code error, the object is in within the package.
-1
votes
1 answer

Re-configuring java environmental variables for Hadoop ecosystem

I'm trying to install Scala IDE 4.7 in my Cloudera VM 5.10, Which is preconfigured with JDK 1.7, Spark 1.6 version respectively. So, I have installed jdk version 1.8 in /opt/ location by uninstalling the default JDK located at /usr/java/jdk1.7…
-1
votes
1 answer

Which version of Scala Eclipse plugin should I use?

On the Scala download page two versions of Scala Eclipse plugina are offered, 2.10.x & 2.9.x : http://scala-ide.org/download/current.html Which version of Scala should I use for Eclipse Indigo 2.10.x or 2.9.x ? What is the difference between each…
blue-sky
  • 45,835
  • 124
  • 360
  • 647
-1
votes
2 answers

Why do I have "Type mismatch; Found Unit, expected Boolean" in Scala-IDE?

I've got the following Scala code(ported from a Java one): import scala.util.control.Breaks._ object Main { def pascal(col: Int, row: Int): Int = { if(col > row) throw new Exception("Coloumn out of bound"); else if (col == 0 || col == row)…
user1113314
  • 733
  • 8
  • 22
1 2 3
22
23