What's This All About
Scala Plugin turns IntelliJ IDEA to a convenient Scala development environment.
If it's the first time you're seeing this page, you should strongly consider reading Getting Started with IntelliJ IDEA Scala Plugin.
What's in It for You
You're probably wondering what exactly Scala plugin can do for you. Figure it out right now.
- Features Guide — a complete overview of plugin features.
- Scala Compiler Settings and Scala Debugger Settings — you're probably going to need them adjusted soon.
What's Been On
See the Version History page for the latest plugin releases and more or less detailed what's new info.
What's Next
The Roadmap, as you have probably expected, gives you a bit of insight into what will become of us.
So, if you're curious, read it: Roadmap.
What Else
Reading this page is not probably going to take all of your day, so we've collected this bunch of links to keep you entertained.
- Forum — a great place to exchange experience.
- The Scala Programming Language — a must-read source of first-hand info about Scala.
What If...
If you've found a bug, a glitch, anything that doesn't work well, or as you think it should —
in other words, you have what we call feedback, you're welcome to our Issue tracker.
You can submit bug requests and, what's even more exciting, your ideas of new features.
If you feel like you've got time to play with the plugin code yourself — visit Git Source Repository.
Here we put some instructions on how to build Scala plugin from scratch.
Check Nightly Builds page to get the latest plugin version with actual changes.
Comments (43)
Sep 10, 2009
Dean Thompson says:
I am eagerly waiting for this plugin to get to the point where I feel confident ...I am eagerly waiting for this plug-in to get to the point where I feel confident doing production development with it. Last time I tried a version of the plug-in, it kept my Java code from compiling, and I had to back out. That was a couple of months ago, but now I am very confused about the status of this plug-in development. Nothing new appears in the version history any more, and this overview page isn't updated, but new plug-in versions do seem to appear. It would be tremendously helpful if someone could go through and update the version history, the roadmap, and perhaps some of the other summary information, to give us all a sense of where this development stands.
Sep 14, 2009
Dean Thompson says:
The following forum thread contains an answer to some of my questions:The following forum thread contains an answer to some of my questions: http://www.jetbrains.net/devnet/message/5244381#5244381
The key information is in a post from Ilya Sergey, who seems to be the primary maintainer of this page. Ilya Sergey writes:
Hello, guys!
I'm happy to notify you, that I'm still alive but in the last couple of months I was kind of a little bit busy with my current PhD work. Usually I forget to track forums (by some reasons automatic notifications don't work correctly for me), but as you may see by revisions to Scala plugin repository I continue working on Scala type system support in the plugin.
Cheers!
Ilya
Sep 24, 2009
Dean Thompson says:
I am delighted to see that the version history is being regularly updated again ...I am delighted to see that the version history is being regularly updated again to show lots of great progress on the plugin. My thanks to everyone involved in developing and supporting it!
Oct 12, 2009
Dean Thompson says:
I have been using the plugin very successfully for the past couple of weeks.&nbs...I have been using the plug-in very successfully for the past couple of weeks. My thanks again to the plug-in development team!
Oct 09, 2009
Anonymous says:
Here's my scala class : class GisPoint(x1: Int, y1: Int) From a java class,...Here's my scala class :
___________________________________
class GisPoint(x1: Int, y1: Int)
___________________________________
From a java class, even though it compiles and works, I get a syntax error with "new GisPoint(10,10)". Idea underlines the arguments and says:
"GisPoint() in GisPoint cannot be applied to (int, int)"
Any idea? I use 8.1.3 with scala plugin 0.2.27245
Thanks
Oct 14, 2009
Taras Tielkes says:
Although part of the source quoted above got eaten by confluence, I think simila...Although part of the source quoted above got eaten by confluence, I think similar cases work for me using the latest IDEA 9.0 EAP and the latest Scala-for-IDEA9 plugin release.
Oct 21, 2009
Anonymous says:
Running scala code on IDEA on my Macbook doesn't work very nicely, it seems\!?\!...Running scala code on IDEA on my Macbook doesn't work very nicely, it seems!?! the "Edit Configuration" wizard opens up the scala console so I end up with a ">scala " prompt instead of the code being executed.. Is this a mac related bug?
Oct 21, 2009
Alexander Podkhalyuzin says:
Try ro run your scala code directly from editor, not throw "Edit Configuration".Try ro run your scala code directly from editor, not throw "Edit Configuration".
Oct 23, 2009
Anonymous says:
Thanks for replying Alexander, it seems that there is no option for this on macb...Thanks for replying Alexander,
it seems that there is no option for this on macbook!
The normal view on my windows pc has a bigger context menu! On the mac there is only these 2 options:
- Compile 'Hello.scala'
- Run Scala Console
!!!
Oct 27, 2009
Alexander Podkhalyuzin says:
Please create bug report toPlease create bug report to http://youtrack.jetbrains.net/issues/scl. Also attach some screenshots. We will help you soon.
Oct 29, 2009
Anonymous says:
Is this supposed to work with the Community Edition? I have #IC90.96, and I am t...Is this supposed to work with the Community Edition? I have #IC-90.96, and I am told that the plugin is "not compatible".
Oct 29, 2009
Anonymous says:
same version, same problems, suggestions?same version, same problems, suggestions?
Oct 29, 2009
Ilya Sergey says:
Please, download the last IntelliJ version.Please, download the last IntelliJ version.
Oct 30, 2009
Anonymous says:
RE: Running scala code on IDEA on my Macbook ... I'm using latest production rel...RE: Running scala code on IDEA on my Macbook ... I'm using latest production release of IDEA (8.x) on the Mac! There is only the following options:
- Compile 'Hello.scala'
- Run Scala Console
Do you mean version 9??
Nov 20, 2009
Anonymous says:
Looks like the Scala plugin is not compatible with the latest Community Edition ...Looks like the Scala plugin is not compatible with the latest Community Edition (v 90.193).
Nov 21, 2009
Alexander Podkhalyuzin says:
It's not the latest, you can download EAP version 92.24.\\ Best regards, Alexane...It's not the latest, you can download EAP version 92.24.
Best regards,
Alexaner Podkhalyuzin
Nov 22, 2009
Anonymous says:
Scala plugin is not available in EAP 92.24 version, it is not shown in available...Scala plugin is not available in EAP 92.24 version, it is not shown in available plugins list...
Nov 22, 2009
Anonymous says:
Are there any download links to EAP 90.96 as I am unable to use the Scala plugin...Are there any download links to EAP 90.96 as I am unable to use the Scala plugin with the recent EAP releases.
Nov 24, 2009
Anonymous says:
the same problem here. Regards, Roman Sotnikovthe same problem here.
Regards,
Roman Sotnikov
Nov 25, 2009
Anonymous says:
I have the same problem, just downloaded 92.24 and although the closure plugin i...I have the same problem, just downloaded 92.24 and although the closure plugin is now compatible (was incompatible with 90.193), the scala plugin is incompatible and worse yet the list of plugins won't even display. I get an error msg that says "List of plugins was not loaded: Content is not allowed in prolog" when I click on the plugins tab and it tries to download the list of available plugins.
Nov 25, 2009
Anonymous says:
nevermind, I got the latest plugin fromnevermind, I got the latest plugin from http://plugins.intellij.net/plugin/?idea&id=1347 and it works with 92.24
Dec 07, 2009
Anonymous says:
Im having thesame problem.. greedy geniusIm having thesame problem..
greedy genius
Dec 05, 2009
Anonymous says:
I tested several versions of scala IDEplugins recently and IDEA is best so far.....I tested several versions of scala IDE+plugins recently and IDEA is best so far.
The only two things that upset me (and i suppose they both have the same reason) are:
object Test {
def a(s: String) = Some(s)
def main(args: Array[String])
}
You guys are doing really great work, but could you tell us what are you plans on the things i noted above.
Thanks in advance.
Dec 05, 2009
Anonymous says:
Well maybe its not type inference, maybe its just for comprehension or something...Well maybe its not type inference, maybe its just for comprehension or something else. But if i type 'a("").' i get Option methods in autocomplete list, though i can replace 'b <- a
' with 'b <- a(z)' (note that z is not defined anywhere) and i get no errors from IDEA.
Feb 11
Anonymous says:
Indeed, it would be nice if the autocomplettion could be improved.Indeed, it would be nice if the autocomplettion could be improved. http://www.jetbrains.net/devnet/message/5256513#5256513\\
Dec 05, 2009
Anonymous says:
And also... I looked through the list of tickets in issue tracker and i'm not su...And also... I looked through the list of tickets in issue tracker and i'm not sure if i should make a new ticket or is it a known problem. Some issues look similar to my problems but not exactly the same.
Dec 25, 2009
Anonymous says:
Hi All, I am using Idea 9.0 community edition. The comparison page (Hi All,
I am using Idea 9.0 community edition. The comparison page (http://www.jetbrains.com/idea/features/editions_comparison_matrix.html) states Scala is available for users of the community edition as a plugin.
When I open the plugin window and search for scala, nothing appears, but when I do the same in Idea 9.0 Ultimate Trial, I can see the plugin appears.
Can anyone tell me how should I install the plugin in the community edition.
Thanks,
-A
Dec 25, 2009
Ilya Sergey says:
Hi. Please, make sure, that the build of IntelliJ IDEA 9.0 CE you use is from br...Hi.
Please, make sure, that the build of IntelliJ IDEA 9.0 CE you use is from branch 93.* Due to some internal API changes newer branches are not supported so far.
With beest regards,
Ilya
Dec 26, 2009
Anonymous says:
Hi, I just tried out the scala plugin for IDEA (93.54) and I am not sure if thi...Hi,
I just tried out the scala plugin for IDEA (93.54) and I am not sure if this is a bug or a missing feature:
1) auto-compilation does not show me all errors. For example if I call a method with the wrong count of parameters, this willof course result in a compilation error. But the error is not shown immediately in the editor, like it would with java or groovy.
2) On manual project compilation, the errors are not linked in the editor. I only see them in the compilation output.
Regards,
Andi
Dec 28, 2009
Alexander Podkhalyuzin says:
You have an editor with syntax errosr, and some resolve errors. This IDE is not ...You have an editor with syntax errosr, and some resolve errors. This IDE is not integrated with compiler, so compilation can't update red code in the editor.
Scala compiler has complex type system, which is not implemented in scala plugin yet, until this will be implemented, you can't see all compiler errors on the fly (like in Java or Groovy).
Best regards,
Alexander Podkhalyuzin.
Jun 29
Ittay Dror says:
is this on the roadmap?is this on the roadmap?
Jan 04, 2010
Anonymous says:
How can I rename a file? In the project structure I see only the classes inside ...How can I rename a file? In the project structure I see only the classes inside the file.
Jan 11, 2010
Alexander Podkhalyuzin says:
You can rename file in the tab, not from project view. Or you can enable file no...You can rename file in the tab, not from project view. Or you can enable file node mode in scala plugin settings, then you will see file with children in project view.
Jan 13, 2010
Anonymous says:
Is the plugin only compatible with Scala 2.8? When I set the Scala version to 2....Is the plugin only compatible with Scala 2.8? When I set the Scala version to 2.7 I get the ClassNotFound exception.
OTOH, if I set the compiler to 2.8, I cannot build Lift project.
Any suggestions?
Thanks,
– Sasha
Jan 17, 2010
Alexander Podkhalyuzin says:
Please configure Scala Facet page for development with Scala 2.7.Please configure Scala Facet page for development with Scala 2.7.
Feb 18
Anonymous says:
Hey, it appears that the Scala compiler is really slow compared to the java comp...Hey, it appears that the Scala compiler is really slow compared to the java compiler. Is there any work being done to improve this?
Apr 09
Anonymous says:
Hello Thank you for a great plugin Im look forward to each time you make and "...Hello
Thank you for a great plugin Im look forward to each time you make and "official" release.
However I have a problem with attaching Doc and sourcecode to the scala libraries. It works fine for other libraries as scalatest.
Iam using latest EAP and release from 2th. april, however it has been a problem for a while.
Apr 09
Alexander Podkhalyuzin says:
Please try the latest Nightly Build. You can use it with fixed your problem:Please try the latest Nightly Build. You can use it with fixed your problem: http://confluence.jetbrains.net/display/SCA/Scala+Plugin+Nightly+Builds\\
Best regards,
Alexander Podkhalyuzin.
May 04
Anonymous says:
Hi, plugin is cool fo sure, thanks for good work. One thing i noticed, when edit...Hi, plugin is cool fo sure, thanks for good work.
One thing i noticed, when editing file with 2 or more classes and "structure" subwindow is open, then i have "short editor hangs on changing text" issue, hanging disappears
when i close "structure" window.
Jun 10
Anonymous says:
when i set Use fsc to compile. I got these errors: Scalac internal error: clas...when i set Use fsc to compile. I got these errors:
Scalac internal error:
class java.lang.reflect.InvocationTargetException [sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25),
java.lang.reflect.Method.invoke(Method.java:597), org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:61)]
[scala.tools.nsc.CompileSocket.fatal(CompileSocket.scala:50),
scala.tools.nsc.CompileSocket.startNewServer(CompileSocket.scala:89),
scala.tools.nsc.CompileSocket.getPort(CompileSocket.scala:113),
scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:152),
scala.tools.nsc.CompileSocket.getOrCreateSocket(CompileSocket.scala:170),
scala.tools.nsc.StandardCompileClient.main0(CompileClient.scala:85),
scala.tools.nsc.CompileClient.main0(CompileClient.scala),
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method),
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25),
java.lang.reflect.Method.invoke(Method.java:597),
org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:61)]
Jun 22
Anonymous says:
Can someone delete the above comment? It's just spam. The person has posted the ...Can someone delete the above comment? It's just spam. The person has posted the same comment on every Scala forum and blog he can find.
Jul 09
Anonymous says:
Hi, I've just installed the scala plugin with IJ 9.02. I can add classes/object...Hi,
I've just installed the scala plugin with IJ 9.02.
I can add classes/objects but whenever I want to compile a scala class nothing seems to happen.
When I run the app via the main-method I get the following error:
"Exception in thread "main" java.lang.ClassNotFoundException: ScalaTest"
In the "Project Structure" view I have "Scala" enabled under "Facets" and
the scala-compiler.jar & scala-library.jar enabled under "Libraries".
Any hints?
Jul 12
Anonymous says:
Hmm.. Do you have scalatest library in your module dependencies? Also please che...Hmm..
Do you have scalatest library in your module dependencies? Also please check that scala library and compiler jars in your facet configuration are the same as in your module dependencies.
Also, i'd highly recommend latest IDEA EAP (http://confluence.jetbrains.net/display/IDEADEV/Maia+EAP) and scala plugin nightly build (http://confluence.jetbrains.net/display/SCA/Scala+Plugin+Nightly+Builds)