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

Scala IDE Eclipse release freezes for 2.5 minutes on file save

Whenever I am saving a Scala file within my up-to-date Scala IDE, I have to look at a Not Responding Eclipse for 2.5 minutes. Any suggestions, similar problems? Edit: Build id: 3.0.2-vfinal-20131028-1923-Typesafe Eclipse Standard/SDK Version:…
Coxer
  • 1,694
  • 2
  • 26
  • 44
3
votes
3 answers

Code formatter for Play's .scala.html template files

The Play Framework is a web framework for Scala and Java. Its Scala interface uses .scala.html template files for automatically generating HTML files. Is there a tool for automatically formatting these files? Some more context: In Eclipse, with the…
emchristiansen
  • 3,550
  • 3
  • 26
  • 40
3
votes
1 answer

Eclipse stuck for search dialog box

My project is named MyProject, and I got the following error popping up when I press Ctrl + H in eclipse to search my project: Search Dialog Problem An error occurred while creating the search page "Java Search" Reason: MyProject does not…
Mikaël Mayer
  • 10,425
  • 6
  • 64
  • 101
3
votes
3 answers

Setting up a Scala project in Eclipse, together with JUnit & Scalatest

I have recently completed the Scala course on Coursera, and since then I have been looking forward to getting my hands dirty with Scala again. I have written code for some years but I neither educated to be nor work as a programmer, so it took me a…
posdef
  • 6,498
  • 11
  • 46
  • 94
3
votes
1 answer

Joda Time classes don't have any constructors... why? And what am I doing wrong?

Apparently Scala on Eclipse tries to convince me that DateTime, Period, DateMidnight and many other classes in Joda Time don't have any constructors Which is odd considering the fact that the documentation for them shows a constructor and a number…
Electric Coffee
  • 11,733
  • 9
  • 70
  • 131
3
votes
2 answers

How do you do develop an SBT project, itself?

Background: I've got a Play 2.0 project, and I am trying to add something to do aspectj weaving using aspects in a jar on some of my classes (Java). (sbt-aspectj doesn't seem to do it, or I can't see how). So I need to add a custom task, and have…
mconner
  • 1,174
  • 3
  • 12
  • 24
3
votes
5 answers

There is "Run Configuration" but no "Run As Scala Application" in Eclipse

I have the following Scala class, I am able to run it from command line by first typing sbt then in sbt mode. But I am not able to run it from eclipse . I am already in scala perspective. > run-main bcomposes.twitter.QuerySearch #IPL package…
Shakti
  • 2,013
  • 8
  • 27
  • 40
3
votes
3 answers

Scala println doesn't work while termination in IDE

I'm writing a server that runs in a loop and terminates in case of SIGINT(ctrl-c) or terminate button pressed in the console window of Eclipse IDE. I want it to shutdown gracefully printing out termination logs. But the problem is that println…
K J
  • 4,505
  • 6
  • 27
  • 45
2
votes
1 answer

Scala library in build path doesn't expose its version (Android App Dev)

I am receiving the following error when I add android-scala.jar to the build path of my android application: The scala library found in the build path doesn't expose its version. Please replace the scala library with the scala container or a valid…
MRN
  • 193
  • 1
  • 12
2
votes
4 answers

Is it a Scala coding standard to have indentations after val?

I'm using Eclipse with Scala plugin and every time I do something like val blah = "test" And press Enter the IDE automatically indents the following line. I'm wondering if this is a coding convention or some weird IDE quirk.
deltanovember
  • 42,611
  • 64
  • 162
  • 244
2
votes
1 answer

Eclipse mark occurrences Scala doesn't work at all

As it is mentioned in the title, mark occurrences in eclipse for Scala is not working. It works fine with java code. I have to mention that "Toggle Mark Occurrences" is activated as follow I have to mention as well, that in Preferences > General >…
Bashir
  • 2,057
  • 5
  • 19
  • 44
2
votes
0 answers

Ctrl + space giving error saying 'Computing additional info' has encountered a problem

So I am using Eclipse and I have installed Scala IDE. There when I press Ctrl + space, I get an error pop up saying 'Computing additional info' has encountered a problem. I tried using solutions given in many SO threads regarding of shortcut not…
GadaaDhaariGeek
  • 971
  • 1
  • 14
  • 33
2
votes
0 answers

How to run a scala maven project on eclipse?

I need to run this maven Scala project with eclipse however when i click on run i didn't get any suggestion on how to run the project ?! update of question I get help from a contributor here: what was missing is : Maven Integration for Scala…
A.HADDAD
  • 1,809
  • 4
  • 26
  • 51
2
votes
2 answers

In Buildship: how can I substitute a Gradle project with a built jar?

I would like to be a able to get Eclipse to ignore one Gradle project, and instead use a pre-built version of it. Background I have a project "parser" written in Scala, and a dozen others written in Java. The weakest link in my tool-set is Scala…
Luke Usherwood
  • 3,082
  • 1
  • 28
  • 35
2
votes
0 answers

Eclipse - Scala - Play - Macro Expansion error

I have defined play json Read on certain case classes object AccDataResponse { implicit val AccDataReads = Json.reads[Account] //compile error here } I am getting following warning on line Json.reads[Account] in eclipse ide with scala plugin.…
nir
  • 3,743
  • 4
  • 39
  • 63