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

(regular and nested) templates in Play framework 2.3.7, ScalaIDE

Problem Description: In A Play framework 2.3.7 project that works just fine in sbt, I consistently get errors in the eclipse editor when editing controllers, for every call to a template. Not just the templates are not recognized where called upon…
matanster
  • 15,072
  • 19
  • 88
  • 167
0
votes
1 answer

Does the download of Scala IDE 4.0.0 for Eclipse include SBT?

The download page at scala-ide.org for the pre-configured Scala IDE for Eclipse (4.0.0 Release) states that its content includes SBT 0.13.6. I downloaded the Mac OS X 64-bit version, and found that the /plugins directory indeed contains a jar file…
Jan Hettich
  • 9,146
  • 4
  • 35
  • 34
0
votes
1 answer

any reference for scala version and ide compatibility matrix

I have tried various versions of scala(2.9,2.10,2.11) with various ide types like Eclipse+Scala plugin, Whole Scala IDE downloaded from scala website, IntelliJ Idea etc. Eclipse versions won't open the editor properly for files having *.scala…
Chakri
  • 13
  • 1
  • 6
0
votes
1 answer

Import eclipse Kepler syntax highlighting and color theme into eclipse Luna

There are numerous recipes for transferring those settings between eclipse installations, admittedly all of them quite hackish. Yet, replicating your settings when upgrading from Kepler to Luna can take a whole afternoon. I imagine you can also mess…
matanster
  • 15,072
  • 19
  • 88
  • 167
0
votes
1 answer

Type not found: type .. when type is in src_managed folder

After sbt eclipse, when I import a project to my eclipse workspace, I get the error that type not found:X When I search for that type X, I find it in the src_managed folder of the same project. I am using Scala IDE 4.0.0 RC2 I have set my Scala…
RAbraham
  • 5,956
  • 8
  • 45
  • 80
0
votes
1 answer

Cannot use Scala Worksheet after update

After a recent update for ScalaIDE, I cannot open any existing worksheet nor creating new worksheet. The error message is Plug-in org.scalaide.worksheet was unable to load class org.scalaide.worksheet.editor.ScriptEditor. I am experiencing this…
Khanetor
  • 11,595
  • 8
  • 40
  • 76
0
votes
1 answer

How to view scala doc in eclipse

I am using Eclipse for writing Scala code. I installed the Scala plugin in Eclipse. In the Java environment in Eclipse there are explanations available for every built in method, but for Scala, Eclipse does not show Scala doc. What can I do to view…
swaheed
  • 3,671
  • 10
  • 42
  • 103
0
votes
1 answer

eclipse gives error on start up after adding sbteclipse plugin

I add sbt eclipse plug-in .First I created the project named hello the in project directory i created a file named plugins.sbt and add this line in it addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.5.0") and after the sbt> I…
swaheed
  • 3,671
  • 10
  • 42
  • 103
0
votes
1 answer

Why does the toString method on scala.Function1 and scala.Function2 have parenthesis

I am implementing a derivation of (Int) => String) and overriding the toString method like this: object A extends ((Int) => String) { override def toString: String = "A" def apply(int: Int): String = int.toString } IDEA IntelliJ indicates the…
chaotic3quilibrium
  • 5,661
  • 8
  • 53
  • 86
0
votes
1 answer

ScalaTest runnning only a single test in a suite

While developing a test suite for a class, I've began running into situations where ScalaTest would only run a single test, or exclude some of them.
corazza
  • 31,222
  • 37
  • 115
  • 186
0
votes
1 answer

Eclipse not recognizing TODO/FIXME comments with Scala IDE

Comments such as // TODO something or // FIXME this used to be recognized by Eclipse and put in the Tasks view while I was using it for Java development. I'm now writing Scala, and those comments are not recognized anymore. Eclipse version: Kepler…
corazza
  • 31,222
  • 37
  • 115
  • 186
0
votes
2 answers

Java / Scala import not working due to incorrect build path?

I'm very confused about how you import packages and their classes. I have two scala projects with the following directory structures: project1/ src/ main/ scala/ utils/ some_file.scala …
AJP
  • 26,547
  • 23
  • 88
  • 127
0
votes
0 answers

On Scala sheet: Type ';' expected but ')' found

In Eclipse Scala sheet I get error for: (-1 until 5).foreach {i => println(i)} Errors are: Type ';' expected but ')' found illegal start of simple expression but if I delete the "." after (-1 until 5) I won't get any error: (-1 until 5)…
Omid
  • 1,959
  • 25
  • 42
0
votes
1 answer

Is there a ScalaTest Plugin for Eclipse Luna and Scala IDE Lithium?

Trying to find the ScalaTest plugin for use with Eclipse Luna and Scala IDE for Eclipse 4.0.0 (aka Lithium). Currently using Milestone 2 of the Scala IDE for Eclipse Lithium plugin. The ScalaTest plugin used to be part of the Scala IDE for Eclipse…
0
votes
1 answer

data switch has no effect when given in eclipse.ini

I want to set up workspace location for an Eclipse instance in order to distribute it to some of my friend. I must use relative path to workspace for this. So far I decided to use data switch to point particular workspace located inside the Eclipse…
Artem Pelenitsyn
  • 2,508
  • 22
  • 38