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

How to resolve reference to twirl generated template class in Scala-IDE?

Using twirl for generating template class. Everything is working fine with sbt and the webpages are rendering. I am using Scala-IDE for development. And in the Scala-IDE the reference to the template class i.e. "html.test()", test is the template…
Biswanath
  • 9,075
  • 12
  • 44
  • 58
4
votes
1 answer

Can Scala IDE suggest packages to import automatically?

In Java, and also in C#, when I use a class that has not been imported, I get a list of suggestions to import. Is this also possible in ScalaIDE? Thanks
Khanetor
  • 11,595
  • 8
  • 40
  • 76
4
votes
1 answer

Scala IDE Template Editor Broke

I just downloaded the scala ide 4.0 release candidate 1 on my windows machine. I setup a basic play scala project and tried opening the the index.scala.html file with the New Play Editor and the file doesn't open.it looks like this: So then I tried…
j will
  • 3,747
  • 11
  • 41
  • 64
4
votes
2 answers

Scala IDE not working properly in Eclipse Luna for Java EE

I've tried and re-tried to install the Scala IDE in several different ways in the Java EE specific version of Eclipse, but I just can't get it to work. The Scala first-time configuration screen doesn't appear, I can't create Scala projects, and the…
Electric Coffee
  • 11,733
  • 9
  • 70
  • 131
4
votes
1 answer

Simultaneous incremental compilation in SBT and Scala-IDE

When I am trying to work with the same project both from SBT command line and from Scala-IDE, building several times in the same way (i.e. only from the command line or only from the IDE) allows project to be rebuilt incrementally. However, if I…
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
4
votes
1 answer

Where did the .target directory come from in my Play 2.1.1 project?

I'm just getting started with the Scala/Play 2.1.1/Scala-IDE stack and am kind-of confused as to why my Play 2.1 project directory contains both a target directory and a .target directory. The stock .gitignore appropriately ignores the target…
Bob Kuhar
  • 10,838
  • 11
  • 62
  • 115
4
votes
1 answer

How to overcome "there were 1 feature warning(s); re-run with -features for details"

I am new to Scala, Scala-IDE, and Play 2.1 and am working my way through the tutorials. Today I noted that the Eclipse Project emitted by the "todolist" tutorial shows up in the Scala-IDE with a Warning that I don't understand and would like to see…
Bob Kuhar
  • 10,838
  • 11
  • 62
  • 115
4
votes
2 answers

How to combine sbt continuous testing with eclipse scala ide?

I edit in the Eclipse Scala IDE and I have my tests running on a separate screen using ~ test in sbt. My tests are written using specs2. This gives me double compiles, and sometimes Eclipse is still building while sbt starts to kick in. To solve…
EECOLOR
  • 11,184
  • 3
  • 41
  • 75
4
votes
1 answer

Multidimensional array declaration fails after update to Eclipse Juno with Scala 2.10

I recently updated to Eclipse Juno and therefore to Scala 2.10 as well. I had code that worked perfectly before, however, after the update I get a "too many arguments for constructor Array" error for this line: var labyrinth = new…
johnny
  • 8,696
  • 6
  • 25
  • 36
4
votes
3 answers

Renaming a .scala file in Scala IDE does not rename the class

When I rename a .scala file via Eclipse the class name itself is not renamed. Is this expected behaviour? It does not seem to break anything. I expect it to be renamed, coming from a Java background the filename/class name must equal each other.
user701254
  • 3,935
  • 7
  • 42
  • 53
4
votes
3 answers

Eclipse is creating multiple run configurations every time the same Scala program is run

Eclipse is creating a new "Run Configuration" every time that I execute a Scala program. The problem with this is that I need to customize the default Run Configuration (need to change the working path). So the first time I create and customize a…
Sergio
  • 8,532
  • 11
  • 52
  • 94
4
votes
2 answers

Classes in Worksheet in Scala-IDE cause error

Just instantiating a class by typing the following into a Worksheet (note, Worksheet, created with File > New > Scala Worksheet, a .sc file, not a normal .scala file) and clicking Save causes a spurious error: Mouseover: "Multiple markers at this…
Luigi Plinge
  • 50,650
  • 20
  • 113
  • 180
4
votes
0 answers

Add sbt plugins to Eclipse scala-ide

I have scala project that I use sbt to manage and I have a sbt plugin (sbt-twirl to be specific) that I need for the project. Now I would like to use Eclipse for editing/debugging the project. As usual, I used sbt-eclipse to generate the Eclipse…
Tathagata Das
  • 1,808
  • 15
  • 13
4
votes
1 answer

In Eclipse, can I choose the version of Scala for my project?

Currently I'm using Scala IDE, and the version of Scala it's using for my project is 2.9.2. Preferably I'd like to choose 2.8.1, and am not sure how to select a version of the Scala Library. Is there any way to change the version? Thanks!
A Question Asker
  • 3,339
  • 7
  • 31
  • 39
3
votes
2 answers

Scala-IDE or Scala unjustified syntax ambiguity

I am learning Scala with Scala-IDE in Eclipse. While following the Chapter 9: Control Abstraction, part 1: Reducing Code Duplication in the Programming in Scala book, I have written the code from the book (fully represented below), it worked fine!…
noncom
  • 4,962
  • 3
  • 42
  • 70