Scala Plugin Update for IntelliJ IDEA 14 RC is Out

Following IntelliJ IDEA 14 RC that has been released a couple of days ago, we’re publishing a Scala plugin update for it. In this post you will find what’s new in this build:

Scala plugin project migrates to SBT

First of all, Scala plugin project itself now uses SBT for build and dependency management. This is good in a number of ways, one of which is that the SBT task that comes with the project will let you download a correct version of IntelliJ IDEA as a dependency.

Rethinking the project configuration model

Another change is that we’ve finally decided to get rid of the Scala facet and replace it with so called Scala SDK library that, in addition to the standard Scala libraries, has a classpath to Scala compiler:

Screen Shot 2014-10-30 at 17.31.33

This change unfortunately is not backward-compatible, and that means you’ll have to convert the your projects to use them with IntelliJ IDEA 14, but don’t worry, it will do it automatically.

Anonymous functions evaluation

And last, but not least, the updated Evaluate expression and Watches now let you evaluate anonymous functions:

Screen Shot 2014-10-30 at 17.38.12

This feature still has several limitations and not everything may work as expected (e.g. it doesn’t allow you to access private members unused in other anonymous functions/classes) but we hope to fix it soon.

That’s it for now. For the complete list of changes, please refer to the Release Notes.

The IntelliJ IDEA 14 release is around a corner, it’s your last chance to submit your feedback, use our discussion forum or report bugs directly to the issue tracker.

Develop with Pleasure!

This entry was posted in EAP, New Features and tagged , , . Bookmark the permalink.

46 Responses to Scala Plugin Update for IntelliJ IDEA 14 RC is Out

  1. Igor Kolomiets says:

    “Rethinking the project configuration model”

    Thank you, guys! The old one was soo confusing…

  2. Alex says:

    The plugin give the follows errors
    Throwable: Project is already disposed: Project (Disposed) and
    Error:bad option: ‘-language postfixOps’

    and how I can add the postfixOps option for a non-sbt project?

  3. Remi says:


    Do you plan to reintroduce the facility to create SBT based scala modules, as in IntelliJ 13? I’d actually prefer this to creating non-SBT modules.

    • Pavel Fatin says:

      Hi Remi!

      The previous “Add SBT module” action was actually a “bug” – it was only possible to create a whole SBT project. Because new modules within an SBT project must be declared in SBT definition itself, and syntax of that definition is quite arbitrary, we can’t modify SBT files from some UI wizard.

      It’s still possible to create an SBT-based project via the File / New Project action (Scala / SBT). Then you may add additional modules (“projects” in SBT’s terms) in the SBT project definition and press “Refresh SBT project” in the SBT toolbar (or rely on auto-import), so these modules will appear in IDEA. The same is possible within an imported SBT project.

      • Remi says:


        Thanks for your answer.

        Meanmwhile I have tried a few times to create a new SBT project from scratch using the new GA releases of IDEA and Scala plugin. I found that creating new modules is best performed by adding them to the root .sbt file and not via the usual “New Module” menu in the project tree. Also, auto-import at some point started a never-ending reimport without me performiong any changes on any .sbt, so I did not use it on further attempts.

        I found that a lot of nested project folders were created for subprojects, although the SBT documentation states that they are disregarded if there is a parent module (maybe I misunderstood this and there is still a purpose for them).

        When I look at the SBT tool window, it is either empty or – after manually adding a .sbt file – there are some entries which don’t allow me to execute SBT build commands like I would expect, nor have I ever seen an the menu entry to navigate to the source location (F4) in enabled state. Am I doing something wrong here – or how can I run SBT commands (like clean, compile, test etc.) from IDEA?

        Is there something like a getting started / cookbook / best practices documentation for using the IDEA Scala plugin in a multi-module scenario that guides not-yet-experienced users of it (like me) to using it in the way it was meant to be used (and also the way it works)?

        Cheers and thanks in advance for any hints,


  4. kerr says:

    the project refreshing tack too long time

    after I upgrade,the SBT plugin starting to refresh the project ,but seems it take too long time to finish it work,
    from the linux’s indicator view,seems it using high local network

    you could verify this issue via akka project

  5. John says:

    Scala worksheet backward, show object defined and not the inner values and def of the object

  6. Kevin Osborn says:

    I just updated today. If it converted an existing project, it works fine. But if I tried to just import an SBT project, it just shows the root files (build.sbt, .gitignore, etc.). It doesn’t seem to recognize the SBT structure. Although if I uninstall the plugin, it does recognize the structure.

  7. Pingback: IntelliJ IDEA 14 is Released! | JetBrains IntelliJ IDEA Blog

  8. Derrick says:

    Hey would you mind sharing which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a tough time making a decision to go with BlogEngine.

  9. slam says:

    I think there are some issue with it.
    I just convert the project from intellij 13,and i run the unit test with errors like xxxText class not found. but it works fine with 13.

    • arussel says:

      same here, I can’t find a way to have the test class to be compiled, I have to run sbt outside with ~test:compile to be able to run the test inside idea

      • Sergey says:

        It doesn’t compile any scala sources actually, not only tests.

        • geekmartian says:

          I’m having the same issue with a brand new project, from IntelliJ 14 I get “xx Test class not found”. falling back to “sbt test” from command line. Any solution for this?

          • Luchesar Cekov says:

            The same here. Intellij 14 with scala plugin stopped compiling any scala files.

            I am not able to run the tests or any main method class either.

            Hope to get some update soon!

  10. Richard says:

    There is a downside to moving from a project-level Facet to an application-level Scala SDK library.

    I like my builds to define Scala dependencies using Maven-style “coordinates”, and have my build automation pull in the Scala jars from a repository – both to compile against and to package a deployable artifact.

    I also like to ensure that the build automation sets up IntelliJ to match the settings used to compile and deploy artifacts – that way, I can be sure (as far as possible) that what runs in IntelliJ is the same as that deployed.

    I use the Gradle idea plugin to generate IntelliJ project and module files – hence Gradle pulls in the Scala jars and sets up module libraries/project libraries using them, and will also compile and package against the same files.

    It does not seem possible to specify a repository and Maven-style coordinates when setting up a Scala SDK. In any case, since a Scala SDK is configured application wide, no external build automation can set this up.

  11. Stephen Boesch says:

    quasiquotes are not working for a project that was auto upgraded from 13.1.5 to 14

    Specifically I am compiling the spark project and the spark/sql module uses quasiquotes.

    Is there a fix for this?

  12. Sergey says:

    Hi! Thanks for your work, however this release is actually a downgrade from what we’re used to. Is support for Play2 project compilation within IDE planned? No matter what I do, I can’t make it compile.

  13. Mark says:

    We have a relatively large Scala 2.11/Play 2.3 SBT project – Build.scala based, and the SBT import fails with errors like “object PlayImport is not a member of package play” (for “import play.PlayImport._”)

    We are currently able to use “activator gen-idea” to get a working project but it would be nice to be able to use SBT import and avoid the conversion step each time we update the project.

    Also noticed that unlike IntelliJ 13, 14 seems to be affected by PLAY_HOME and/or SCALA_HOME set in my .bash_profile (OS X 10.10) – I had some projects that failed with strange errors until I removed these (which were for Scala 2.10, Play 2.2, while the project was for 2.11/2.3.)

  14. Hello.This post was extremely fascinating, particularly since I was looking for thoughts on this matter last week.

  15. Just wish to say your article is as astonishing. The clearness in your post is simply nice and i can assume you’re an expert on this subject. Well with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please keep up the enjoyable work.

  16. なんか、下手糞なのに女優に関してはプライド高いよね。

    Get a FREE course that reveals some with the most groundbreaking persuasion techniques and secrets
    at. Hogsmeade Village, inside the Harry Potter series, will be
    the only all wizarding village in Britain. http://www.opusfx.coom s, contractions or shortening of words, slang and exaggerated terms.
    Even good English users need practice for IELTS Writing Task 1 as well as for all other parts in the exam.

  17. If you’re planning which has a fitness regime,
    there can be a few items that have to be kept
    in your mind along with using the right form of diet and protein supplements.

    The top from the line in whey protein powder eggs isolate is whey protein isolate hydrolysate.
    Protein powder yahoo answers While your protein drink should taste a helluva lot better than the usual blended chicken, it’s essentially
    delivering the identical thing.

    Rice protein will be the most hypoallergenic protein but
    it’s incomplete. Time saving tip: I usually grab the top containers of whey protein concentrate powder.

  18. In the technique of putting it together — or rather, the technique of
    trying to put it together — my electric Razor vs manual razor Acne screw
    gun seized up and prevent working. You see, some from the shavers are geared toward people
    with very rough undesired facial hair who must shave
    each day. Razor electric scooter contact number The electric razor scooter
    delivers what it is built to do and no more.

    Your special person will require to them, since Braun Electric shavers is really useful
    whatsoever. Another step to consider when purchasing a new Razor scooter battery is whether to
    go OEM (“Original Equipment Manufacturer”) or third party.

  19. A company spokesperson also said the new version will even work on the
    new Google Chromebooks which are just released last month.

    With this kind of device, there exists no should invest in one more switch if the number of
    ports satisfies the number of wired devices.

    If the router and the client computers are configured properly, there’s nothing additional for all those the clients
    to work in the wireless network. The proof this works is always that clients would rather come to my office rather than stay in theirs
    and consult with me about the phone or have
    me arrive at them. Wifi Extender Netgear Amazon signal
    extender walmart Essentially, it adds a different antenna for a
    wireless router that is positioned in another area of your
    respective home.

  20. If you possess little know-how about laptops, you can install the display by yourself.

    They could also slow the system considerably and render it unusable.
    Acer c7 chromebook vs samsung chromebook staples chromebook

  21. In purchase for that intercourse pocket pussy to get a pleasurable
    and healthy knowledge,. There is big variety for both men and women pocket pussy, which you
    and your partner shall admire. How to make a pocket pussy where

    Block format is a lot easier since here you needn’t draw any similarity or comparison like that with the point-by-point
    format. Researches reveal that the utilization of this symbol ought to be limited to three to four per 110,
    000 words in a written material. Pocket vigina go namely,, Having a framework will
    make it easier for one to complete later. I think that I must
    be able to formulate a personal thesis about such ideas.

  22. However if you don’t see yourself unplugging your laptop from its AC adapter
    often, or don’t seem to mind the current life of your battery, then upgrading may not be necessary.

    A quick flipping of the tail back and forth shows that the kitty is on the
    hunt. How do you find the median of a set of numbers

    Remember that while in spirit you will experience everything as
    a spirit what does hmu mean on facebook.
    If this had been the Asiatic lion, the species name would be Panthera Leo Persica.

  23. These bulbs can be planted in October in case you choose to complete an earlier planting.
    You can certainly still plant refrigerated tulips with your Houston, Texas garden in February with
    time for spring blooms. Wholesale calla lily, having a sense
    of serenity and tranquility can certainly be one with the best bridal gifts.

    Oleander is really a particularly poisonous plant to pets, so keep your eyes open for this as you take your dog out for walks.
    Like, in the event you are choosing white calla lilies then use
    dark food colors like red, pink etc, and should you
    are using vibrant yellow calla lily bridal bouquet lilies, then let the food
    color be the light source color.

  24. drozzy says:

    Is there ever going to be a tutorial on how to use Sbt with IntelliJ?
    It all seems to just happen “magically” — I have no idea what’s going on behind the scenes. Why is there another “project” (created by sbt plugin) inside my “project”?

    Would really appreciate if someone could post a “For Dummies” explanation. Thank you.

  25. michwyz says:

    Hi, I have problem with sbt idea plugin i think. It occurred after migration to 14. When I add dependency to my build.sbt, Idea is not loading new libraries. Project is compiling and works, but editor is full of “Cannot resolve symbol” errors.
    Maybe someone has similar issue?

  26. SemanticBeeng says:

    It also “felt like a downgrade” to me as well.
    Figured some things out and posting here to save others from possibly missing the chance to use a great tool due to some rough edges

    Intellij 14 seems to fix some “debugger on vacation” problems from version 13 so I had to upgrade…

  27. Kostas says:

    I am having issues importing a big multi-module sbt project with 1.1.3 of the plugin. No modules are imported and no error in the event log.

  28. Shishir Lamichhane says:

    Why is this IDEA 14 version spending a lot time to hot reload a small change in code? Also IDEA sbt seems to be busy all the time?

  29. As a protection from the deadly kryptonite, the superman toy has a helmet
    as well as him. According to the statistics of China
    Consumers’ Association, the standard problems of youngsters toys are targeting some aspects.
    nerf ultimator rebelle heartbreaker bow Established by Frederick August Otto Schwarz and the three
    brothers; this store is among the most famous toy store in New York.

    Dogs generally speaking love the several shapes of hard rubber toys.

    Sex toys must be cleaned over a regular basis otherwise
    it may cause infection easily.

  30. ubuntu says:

    In conjunction that has a 1GHz processor, the Android OS gives a perfect user experience
    because of its versatility and simplicity of use. The touchpad however
    has become located nearer the screen and you should reach across the laptop
    keyboard to navigate when you aren’t employing a mouse. Best buy credit card Likewise, this system seems stronger in comparison with its predecessor
    and several other expensive ultrabooks.

    2 inches using a TFT resistive screen which imparts 65000 colours using a resolution of 240 x 400 pixels even though the Louvre could
    have a screen dimensions of 3. The principle thing you may probably notice is you can have to get additional disciplined.

    When government offices are closed, so can be most of any reporter’s sources.
    ubuntu best buy credit
    card The projects will probably be selected depending on their market duplication potential, originality of processes, and participation to European environmental policies.

  31. We never spent over 8 hours in a very car together most
    with the trip planned, no less than where we were sleeping.
    last minute southwest Flights gas rates Not just for the people
    meetings through the globe, but also for people that
    have clients only a number of kilometers away.

    If you have a lot more than twenty traveling, purchase your tickets at the same
    time to try a significant discount. Your charge card information usually isn’t asked until you need to book.

  32. says:

    堀北真希 髪型 ブログに何書くとかも運営の折込済みって意味で台本って意味か

    But at the identical time, you additionally need to identify which blogging
    platform you’d use. 堀北真希 The latest news that’s immediately delivered through the channels will make website visitors to
    know every type of recent news.

  33. When you are looking at buying waterproof bags, there exists much to keep in mind.
    com), the dynamic, waterproof, and extremely durable Pentax Optio W90 is loaded with features suited to the backpacker.

    Kodak waterproof camera xp60 camera zx5 If you’re
    looking to get a particular camera and can’t find
    it here, try one with the following sections.

    The Rotor – Concept is equipped with a 720-by-480 resolution camera.
    The phone has 5MP camera with LED flash and Wi-Fi connectivity at this

  34. Video resolution is receiving larger, recording speeds are receiving
    faster, and video data compression is lowering the video data file
    size. Outdoor cctv quad Splitter cameras are standard security systems familiar with secure business premises.
    Cctv unix Take proactive action today for cost-effective, high-tech and top-notch
    security services.

    We provide you with cameras suiting your protective and
    security needs, for example motion detection cameras, tilt cameras,
    night vision or pan cameras and in many cases wireless cameras.
    Getting a house surveillance system does not must be difficult.

  35. Pingback: ScalaTest IntelliJ Problem | Active Intelligence

  36. Wade Olona says:

    You need to be a part of a tournament for example of the greatest blogs over the internet. Let me suggest this blog!

Leave a Reply

Your email address will not be published. Required fields are marked *