Early Access Program Features

Scala 1.4 EAP Brings Advanced Implicits Analyzer and Faster Play Compiler

We’re working on our next update for the Scala plugin, and today I want to share with you a fresh EAP build that brings two noticeable improvements: advanced analysis for implicit parameters and faster compilation for Play Framework.

Advanced Implicit Parameters Analyser

Now, when you call the Implicit Parameters action, in addition to the list of applicable implicit parameters you will see those that can’t be found:

Screen Shot 2015-03-02 at 20.20.51

Under the “Parameter not found” label you’ll find the list of possible implicits for this location. It distinguishes the following cases:

  • Fewer applicable implicits are found
  • Somewhere deep an implicit is not found or diverging
  • No applicable implicits found for this parameter

Compiler Server for Play Framework

Another improvement makes the compilation for Play applications blazingly fast, thanks to moving it to a separate process. Now every time we compile the project we don’t have to start SBT.

For the complete list of changes refer to Release Notes.

We hope you’ll find these changes useful. Don’t forget to write us back on our discussion forum or report any found bugs directly to the tracker.

In case you’d like to give a preview build a try, but don’t know how, switch to the EAP update channel via Settings (Preferences for OS X) → Languages & Frameworks → Scala → Updates → Plugin update channel.

 Develop with Pleasure!

Comments below can no longer be edited.

7 Responses to Scala 1.4 EAP Brings Advanced Implicits Analyzer and Faster Play Compiler

  1. Avatar

    Ferdinand Svehla says:

    March 5, 2015

    This isn’t picked up yet in the ‘Plugins’ dialogue even though the update channel is set to EAP in the plugin.

    Is this released yet?

    • Avatar

      Alexander Podkhalyuzin says:

      March 6, 2015

      There is the page with download links https://confluence.jetbrains.com/display/SCA/Scala+plugin+EAP, you can download and install from disk. Which version of IDEA do you use? We will check your claim that EAP installation is not working.

      Best regards,
      Alexander Podkhalyuzin.

  2. Avatar

    Marcin says:

    March 5, 2015

    Any chance to get https://youtrack.jetbrains.com/issue/SCL-8281 fixed before 1.4?

  3. Avatar

    Mario Camou says:

    March 6, 2015

    Also waiting for it to be found in the “Plugins” dialogue, can’t update to the 1.4.1 EAP’s until this is available.

  4. Avatar

    Josef Pacula says:

    March 18, 2015

    How do I know if I’m utilizing this? I’m developing a play app and I’m using the play2 app build config. How do I check?

  5. Avatar

    Robson Peixoto says:

    March 19, 2015

    Are there a tutorial how to use “Advanced Implicit Parameters Analyser” ?

    • Avatar

      Nikolay Tropin says:

      March 23, 2015

      Hi, Robson,
      You need to place the caret at a method call (or select it) and press Ctrl+Shift+P. If implicit parameters are used they will be shown in the popup window.

      Tree structure is shown if implicit function used to compute implicit parameter requires implicit parameters itself (and so on). You can expand the node of a parameter even if it was not found, to get more details about what goes wrong.

Discover more