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

NoClassDefFoundError: scala/ScalaObject in mixed Scala/Java project

Background: I am a C# developer, but my next project needs to be on the JVM. I have researched Scala and I think that it lets me to what I can in C# (Lambdas, inferred types, functional-style, etc). I would classify myself as a very novice Java…
fbl
  • 2,840
  • 3
  • 33
  • 41
6
votes
2 answers

Eclipse Scala plug-in: "illegal cyclic inheritance"

I just updated to the latest Scala-IDE version on Eclipse, and it's highlighting loads of spurious "illegal cyclic inheritance" errors in code I know to be OK (it was before, and it still compiles and runs OK). Any way to fix this? If not, how do I…
Luigi Plinge
  • 50,650
  • 20
  • 113
  • 180
6
votes
2 answers

Scala IDE on Eclipse Luna is not displaying scala Worksheet

I have installed scala IDE 4.0.0 on Eclipse Luna. It is not displaying Scala Worksheet option which is displayed on Scala IDE 3.0.2 on Eclipse Kepler. Could anyone tell me is Scala Worksheet feature is removed in version 4.0.0 or is it a bug or some…
user51
  • 8,843
  • 21
  • 79
  • 158
6
votes
2 answers

Different version of scala lib in build path and scala-ide

I have two versions of scala (2.11.4 and 2.10.4). Currently I work on project based on scala 2.10. I've changed version in project properties but ide still complains about it: The version of scala library found in the build path (2.10.4.) is…
Matzz
  • 670
  • 1
  • 7
  • 17
6
votes
6 answers

How to speed up Scala IDE?

I'm working with a fairly large project, managed by SBT (full recompilation time 150+ sec). I'm using latest Scala IDE plugin (4.0.0-M1) and I can barely edit any large enough source file - each time I type something, eclipse freezes completely for…
Alex Abdugafarov
  • 6,112
  • 7
  • 35
  • 59
6
votes
1 answer

Suppress display of a result in scala worksheet

I would like to suppress the output of helper variables in Scala worksheet: val sqs = scen.rssis.toSeq.filter { case (ap,s) => s.exists(e => e.epoch > 1) }.sortBy { -_._2.length }.take(10) //>…
gzm0
  • 14,752
  • 1
  • 36
  • 64
6
votes
2 answers

Can't examine variables in scala code in Eclipse

When I debug a Scala application in eclipse I get a dialog with this message on start up: Unable to set breakpoints in Main due to missing line number artifacts. When I try to examine variables I get this error in the expressions window: " [in Main…
Shane
  • 2,271
  • 3
  • 27
  • 55
6
votes
1 answer

How can I run a Scala project as a Scala application by default in Eclipse IDE?

I am a novice to the Eclipse IDE and the question is how can I run a Scala project as a Scala application by default? When I run the project by hitting the ⌘R key, it always asks how to run it, as a Scala or Java application. Is there a way to skip…
K J
  • 4,505
  • 6
  • 27
  • 45
6
votes
2 answers

How can I find the version of Scala installed in Eclipse IDE?

The question is how can I find the version of the Scala module installed in the Eclipse IDE? I know I've installed 2.9.xxx something, but I'd like to keep tracking the version number in case of future updates in order to, for example, look up the…
K J
  • 4,505
  • 6
  • 27
  • 45
5
votes
5 answers

Scala + Eclipse + WebServer = A web app

I want to develop a rather simple web application in Scala, with Lift or Play framework, using Eclipse as an environment and some simple webserver like Jetty. However, to my inexpressibly great surprise, I cannot setup the whole thing to work…
noncom
  • 4,962
  • 3
  • 42
  • 70
5
votes
4 answers

Scala source files not recognized by compiler in Eclipse

I am working on a playframework project that I have eclipsified from the console and opened from Eclipse. However my scala source files are treated as java source files by Eclipse with the resulting compilation errors. Can anyone please help? EDIT:…
balteo
  • 23,602
  • 63
  • 219
  • 412
5
votes
3 answers

Scala Syntax Highlighting in Eclipse

I'm using Eclipse & the Scala plugin to write scala code. The editor seems to have limited syntax highlighting options - for example I would like to change the formatting of variables (I like them blue) and method defs. I know there are a few other…
NightWolf
  • 7,694
  • 9
  • 74
  • 121
5
votes
1 answer

Public variables in Scala?

Are there public instance variables anymore in Scala? I'm reading Programming in Scala, which covers Scala 2.8. If I'm understanding it correctly, it claims that vars in 2.8 are by default public. I'm trying to write code for 2.9.1.final now, and…
Kevin Li
  • 1,540
  • 2
  • 17
  • 23
5
votes
5 answers

Scala IDE Error: Main method not found in class 'hello'

I am just beginning with my scala development on the Scala IDE(Eclipse). I am trying to create a new project and write a sample hello world program to kick things off. This is my sample program: object hello { def main(args: String) = { …
Hemanth Annavarapu
  • 823
  • 3
  • 19
  • 37
5
votes
6 answers

Eclipse scala-ide won't start after installing Mac OS X Sierra (Mac OS 10.12)

Eclipse quit Unexpectedly error is showing up. Process: eclipse [1612] Path: /Applications/Eclipse.app/Contents/MacOS/eclipse Identifier: scalaide.product.id Version: 1.0.0 (1.0.0.201605041117) Code Type: …
Aman Tandon
  • 1,379
  • 2
  • 13
  • 26