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!

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

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

  1. Ferdinand Svehla says:

    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?

  2. Marcin says:

    Any chance to get fixed before 1.4?

  3. Mario Camou says:

    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. Josef Pacula says:

    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. Robson Peixoto says:

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

    • Nikolay Tropin says:

      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.

Leave a Reply

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