scala-ide

What is the current state of the Scala Eclipse plugin? [closed]

浪尽此生 提交于 2019-12-06 17:13:45
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Is the current Scala Eclipse plugin (http://www.scala-lang.org/node/94) usable? I keep reading that its unstable and buggy, even unusable. See previous thread: What is the current state of tooling for Scala? I've tried it out briefly but only for trivial programs, so far it

How to get Scala Compiler Plugin to work in Scala IDE

痴心易碎 提交于 2019-12-05 16:41:17
Note: This is an exact repost of the same question on the Scala-IDE mailing list, where I got zero reply and gave up waiting after 5 days. I'm writing a Scala Compiler Plugin. It's currently called scalawrapper (but I might find a better name later). I have the Typesafe Stack installed, and I put my plugin in it under: C:\Program Files\typesafe-stack\misc\scala-devel\plugins Now I can call scalac like this: scalac -classpath ... -Xplugin-require:scalawrapper test\... and it finds and uses my plugin automatically. Unfortunately, I just can't get the Scala-IDE to use it. I always get Missing

ScalaMacros and Eclipse

限于喜欢 提交于 2019-12-05 05:00:53
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 use macro implementations in the same compilation run that defines them) if you do need to define macro implementations along with the rest of your program, consider two-phase compilation with -Xmacro-fallback-classpath in the second phase pointing to the output of the first phase" I already know how to avoid it with a simple editor and a terminal

Scala+Android: Is anybody successfully building and debugging in Eclipse?

百般思念 提交于 2019-12-04 17:57:38
问题 So far, the only way I've been able to debug within Eclipse is to use Treeshaker with Scala IDE's buggy 2.8 branch. If I try to build with Scala IDE without Treeshaker, I get ClassNotFound errors per this long thread on scala-on-android. Ideally I would build with sbt-android and debug within Eclipse, but I've been unable to do so successfully. The closest to debugging an sbt-android project I was able to achieve was to build the sbt-android project with the android:package-debug command,

Using SBT from Scala IDE

允我心安 提交于 2019-12-04 07:45:59
问题 The path from SBT to Scala-IDE is well described in many places: Start with an SBT project Add the SBT plugin definition: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1") Run the 'eclipse' command from within SBT Open Eclipse with an installed Scala-IDE add-on Import the project What is the reverse for this? If I start a new project in Scala-IDE, can I just add a build.sbt file and somehow tell Eclipse to use this when running the application? Apologies if this

Scala Eclipse file>new has <No Applicable Items>

无人久伴 提交于 2019-12-04 04:52:49
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 the IDE but not the SDK? The simplest reason to get this behavior would be if all perspectives are closed. Most of the menus in Eclipse are contextual, and File > New is empty if there is no current perspective. To open a perspective, use Windows > Open Perspective > Other... , then select Scala and OK . Then File > New contains the list of the Scala

Eclipse not recognizing Scala code

别等时光非礼了梦想. 提交于 2019-12-04 00:17:20
I have Eclipse Indigo with the Scala IDE plugin. I downloaded a lift project from Maven. It builds correctly. Eclipse says it is viewing it with the Scala editor. However, it is still giving my an error on each line because it is treat the code as Java (it gives errors for no semicolon, for the word "def" etc.) I tried cleaning the project and it still gives the errors. A couple of things I would try: 1) Right-click on project, Configure > Add Scala Nature. 2) In the Scala menu, Run Setup Diagnositics... > Use recommended default settings Open the Package Explorer, look at your scala source.

spark build path is cross-compiled with an incompatible version of Scala (2.10.0)

☆樱花仙子☆ 提交于 2019-12-03 12:03:26
问题 When i try to execute sparksql code in scala IDE im getting below error,Could anyone help me to sort out this please? spark build path is cross-compiled with an incompatible version of Scala (2.10.0). In case this report is mistaken, this check can be disabled in the compiler preference page. spark Unknown Scala Version Problem akka-remote_2.10-2.3.11.jar of spark build path is cross-compiled with an incompatible version of Scala (2.10.0). In case this report is mistaken, this check can be

Scala+Android: Is anybody successfully building and debugging in Eclipse?

本小妞迷上赌 提交于 2019-12-03 11:24:50
So far, the only way I've been able to debug within Eclipse is to use Treeshaker with Scala IDE's buggy 2.8 branch. If I try to build with Scala IDE without Treeshaker, I get ClassNotFound errors per this long thread on scala-on-android. Ideally I would build with sbt-android and debug within Eclipse, but I've been unable to do so successfully. The closest to debugging an sbt-android project I was able to achieve was to build the sbt-android project with the android:package-debug command, start the executable with the android:start-emulator command, and then connect DDMS to the application's

Using SBT from Scala IDE

旧街凉风 提交于 2019-12-02 16:13:10
The path from SBT to Scala-IDE is well described in many places: Start with an SBT project Add the SBT plugin definition: addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1") Run the 'eclipse' command from within SBT Open Eclipse with an installed Scala-IDE add-on Import the project What is the reverse for this? If I start a new project in Scala-IDE, can I just add a build.sbt file and somehow tell Eclipse to use this when running the application? Apologies if this seems obvious to some, but I've recently moved from ItelliJ Idea to Scala-IDE and I'm not certain about