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
9
votes
1 answer

Object spark is not a member of package org

When importing the following in Eclipse Scala-IDE import org.apache.spark.SparkContext import org.apache.spark.SparkContext._ I get this error: Object spark is not a member of package org I installed the sbt-0.13.9.msi What else should I…
Adham
  • 101
  • 1
  • 1
  • 4
9
votes
2 answers

Scala IDE - Play 2 Eclipse Plug-in not highlighting syntax for Scala HTML Templates

I installed the Scala IDE - Play 2 plug-in (from http://download.scala-ide.org/play2/nightly_3.0-M_juno_2.10-M/site/ ) whereas the Route Editor displays proper syntax highlighting, the Template for Scala does not. Also, it also does not allow me to…
PacificNW_Lover
  • 4,008
  • 18
  • 76
  • 122
9
votes
1 answer

Is there a way to import packages from your current project into a worksheet

I like worksheets as an alternative to the REPL, but I keep implementing functions in the worksheet and then copying them back into the actual project. How do I import a package from the current project so that I can call those functions in the…
Arne Claassen
  • 13,120
  • 3
  • 58
  • 98
8
votes
1 answer

Configure working directory of Scala worksheet

I would like the working directory for Scala worksheet (and the Scala interpreter) to be the Eclipse project path rather than the Eclipse installation directory. How can I (non programmatically) achieve that? I know that I can use…
gzm0
  • 14,247
  • 1
  • 33
  • 57
8
votes
2 answers

How can I use Eclipse to debug tests driven by sbt?

I have a set of test cases that I want to debug (step by step, reading values, etc.). How can I setup my sbt build so that I can hookup an eclipse debugger?
EECOLOR
  • 11,034
  • 3
  • 38
  • 72
8
votes
1 answer

Eclipse Scala interpreter (REPL) - proper use and debugging

I would like to know what are best practises of using Eclipse Scala interpreter (Eclipse Scala IDE). Let's say I have application with breakpoint in it. Is it possible to debug an application in such a way, that I can execute/evaluate expressions…
PrimosK
  • 13,357
  • 10
  • 57
  • 73
7
votes
3 answers

Scala projects look awful with Eclipse Dark Theme

I love Eclipse Dark Theme for Java projects. However, Scala projects are almost unreadable: What can I do to fix this? Are there specialized Dark Themes for Scala projects?
fredoverflow
  • 237,063
  • 85
  • 359
  • 638
7
votes
1 answer

Scala Eclipse file>new has

I downloaded the Scala IDE for Mac 64 bit from http://scala-ide.org/download/sdk.html I open the program, click File > New and see . The Coursera tutorial I'm in says that I should see the option to create a new Scala project. It looks like I have…
quantumpotato
  • 8,938
  • 12
  • 57
  • 132
7
votes
4 answers

How to get inline results in a worksheet in Eclipse/Scala-IDE on Ubuntu 12.04?

I've got the Scala-IDE installed on my Mac and on my pc with Ubuntu 12.04. In there I created a project, with a package and in there a worksheet. On my mac, the worksheet shows results of every line on the same line on the right. For…
kramer65
  • 39,074
  • 90
  • 255
  • 436
7
votes
5 answers

Clearing output from Scala Worksheet

Every-time you save a Scala Worksheet in the Scala IDE, the output of each expression is printed as comments on the right-hand side of the editor. Is there a way to clear this output from a Scala Worksheet so that you can cut and paste…
Jack
  • 15,582
  • 17
  • 86
  • 162
7
votes
2 answers

Run Scala application in Scala IDE with compilation errors

Is there a way to run a Scala application or unit test within the Scala IDE 2.0.2 (Eclipse 3.7) if there are (unrelated!) compilation errors in the project? In Java, this is no problem, but Scala IDE keeps telling me: Project contains compilation…
rolve
  • 9,021
  • 4
  • 50
  • 70
7
votes
1 answer

What is a "build manager" for scala in the scala ide extensions for Eclipse?

In Eclipse in Preferences -> Scala -> Compiler -> Build manager, I can select a "buildmanager." What is the difference between "refined" and "sbt"? Also, is this some method to integrate an sbt build file into the Eclipse IDE?
Wren T.
  • 526
  • 1
  • 5
  • 14
7
votes
3 answers

ScalaMacros and Eclipse

I am trying to compile a (Scala) macro in Eclipse 3.7.2 with the Scala IDE Plugin available for Scala 2.10.0-M3, but I am experiencing the following error: "macro implementation not found: XXXXX (the most common reason for that is that you cannot…
jeslg
  • 1,812
  • 15
  • 32
7
votes
2 answers

@throws in Scala does not allow calling Java to catch correct exception type

I have some Scala code like this: class Callee { @throws(classOf[MyCheckedException]) def doStuff() { } } Calling it from Java like so: public class Caller { public static void main(String[] args) { // this won't compile; the Java…
David North
  • 1,127
  • 1
  • 13
  • 31
6
votes
2 answers

Eclipse and Scala-IDE source files encoding bug?

I am working on a simple project in Eclipse in Scala-IDE. The project makes use of someone else's library (which comes in *.java source files, not in a .jar). The library source files contain numerous comments in Japaneese. I cannot compile the…
noncom
  • 4,762
  • 3
  • 34
  • 69
1 2
3
22 23