Scala Worksheet: instant evaluation

More than year ago we implemented first version of Scala Worksheet. It had convenient interface, but it was possible to make coffee, while worksheet would finish evaluation, so it was almost unusable.

Now, in Scala plugin of versions 0.30.383 and 0.32.550, Scala Worksheet supports almost instant evaluation (don’t forget to use Ctrl + Alt + W shortcut):

Additionally your evaluation results will be saved even on the IDE restart until you will clean it or re-evaluate.

We are also planning to add highlighting for the output, so any suggestion are welcome as it’s not obvious how to do it.


This entry was posted in Uncategorized. Bookmark the permalink.

59 Responses to Scala Worksheet: instant evaluation

  1. Pingback: Scala Worksheet: 即時評価で高速プロトタイピング | JetBrains ブログ

  2. Marius-Andrei Danila says:


    Great to see that worksheets are properly supported in Intellij. However, I cannot manage to make it work.

    I have created a SBT project, then a new worksheet. After inserting some code and pressing “Evaluate worksheet” nothing happens. Syntax & error highlighting work fine, but no results appear in the right panel.

    I am doing something wrong?

  3. Heiko says:

    It has become so fast, you even can’t see the results 😉

    I’m on OS X, Idea 13.0.2, Java 7. The previous plugin worked (slowly), now evaluation doesn’t take place or at least doesn’t show up.

  4. Anil says:

    I have Idea 13.0.2, Java 7. After pressing compile.. compile result doesn’t show up. Please fix.

  5. Richard says:

    Same here. I am on Windows 7, Idea 13.0.2, Java 7 and 30.383 does not work. I went back to 29.464 and it is working again.

  6. Igor Kolomiets says:

    Ура! Наконец. Спасибо.

  7. Alex says:

    Scala worksheet works really faster with scala plugin v0.30.383 (project jdk 1.6.0_45, bundled idea jre 1.7) but IDEA scala compiler fails with the same error as already submitted here:

  8. Pingback: Feedly – Scala Worksheet: instant evaluation | IntelliJ Scala plugin blog | HGW XX/7

  9. Max says:

    Can you explain me why the scala worksheet has a different behavior to the scala ide?

  10. Paul says:

    I have the same issue.

    How can I install newer version of plugin via intelliJ plugin downloads ? Scala plugin version available is 0.26.361 right now. And if I try to load the plugin from the disk, I get an error (incompitable to current version error)

  11. Angel says:

    I have just used it and if I have a worksheet that contains a lot of code that does not generate any output, the editor won’t allow me to scroll down and see my code.

  12. chanel handbags for men sale
    Heya i’m for the first time here. I found this board and I find It truly useful & it helped me out much.

    I hope to give something back and aid others like you helped

  13. Many thanks for writing this, It?s precisely what I was researching for on bing. I?d a great deal of relatively hear opinions originating from a person, slightly than a corporation webpage, that?s why I enjoy blogs so significantly. Many thanks!

  14. we are fans says:

    Make Remarkable Thumbnails: Thumbnails are insignificant illustrations that is representative of your movies online. YouTube is flooded with lots of videos. Given a list of unknown videos, women and men have got a bent to visit with an attractive thumbnail.Which means your thumbnail ought to catch lots of eyes to obtain a number of views.

  15. Grant Visco says:

    I simply need to inform you you in which I’m just raw to online blogging and utterly liked your review. Quite possibly I am most likely to remember your blog post . You certainly have excellent article subject. Be Grateful For it for expressing with us your web article.

  16. Man Falge says:

    Might be almost not possible to see well-educated men or women on this issue, however you come across as like you fully grasp the things you’re talking about! Many Thanks

  17. Melvin Hool says:

    Might be nearly impossible to come across well-advised parties on this matter, yet somehow you appear like you are familiar with the things that you’re talking about! Cheers

  18. You’ll find it mostly unthinkable to encounter well-advised men and women on this matter, fortunately you appear like you comprehend those things you’re posting on! Regards

  19. It’s actually nearly impossible to come across well-qualified parties on this niche, yet somehow you come across as like you know the things that you’re talking about! Appreciate It

  20. My Partner And I simply need to notify you that I am certain new to writing and pretty much loved your information. Very likely I am probably to store your site post . You simply have extraordinary article stuff. Acknowledge it for giving out with us your internet write-up.

  21. My Partner And I merely hope to inform you you which I am certain novice to blog posting and totally liked your article. Very possible I am going to store your site post . You truly have memorable article text. Be Grateful For it for expressing with us your site document.

  22. Wm Sarraga says:

    We just desire to notify you the fact that I am certain beginner to writing a blog and pretty much valued your webpage. Likely I am most likely to save your post post . You absolutely have magnificent article subject. Get Pleasure From it for sharing with us your site information.

  23. It’s actually almost not possible to encounter well-updated parties on this subject, still you come across as like you be aware of those things you’re talking about! Bless You

  24. It is actually almost extremely difficult to come across well-updated individual on this issue, in addition you appear like you be aware of what exactly you’re indicating! Appreciation

  25. It truly is almost extremely difficult to come across well-updated individuals on this content, unfortunately you appear like you understand the things you’re revealing! Appreciation

  26. Might be practically unthinkable to see well-advised individuals on this area, however you appear like you know the things that you’re talking about! With Thanks

  27. Roy Mekeel says:

    It certainly is practically unthinkable to find well-qualified individuals on this content, however you look like you comprehend the things you’re revealing! Gratitude

  28. Casey Cely says:

    You’ll find it mostly unattainable to see well-advised women and men on this content, and yet you come across as like you realize which you’re covering! Many Thanks

  29. Dallas Reed says:

    My Partner And I just have to tell you that I’m just raw to wordpress blogging and clearly cherished your site. Quite possibly I am most likely to bookmark your article post . You absolutely have amazing article reports. Truly Appreciate it for expressing with us your url write-up.

  30. Aurelio Kand says:

    My Partner And I just have to reveal to you that I am certain fresh to posting and completely valued your report. Most likely I am prone to store your article post . You certainly have fabulous article topic. Value it for sharing with us your website page.

  31. HFE-SIGNS says:

    Terrific paintings! That will be the type of details that are meant to be shared around the net. Shame on the seek for no longer positioning this publish higher! Come on more than and consult with my web site . Thank you =)

  32. on the internet health stores generally give some promo and discounts that may be why i usually order from them**

  33. I’d always want to be update on new content on this internet site , saved to fav! .

  34. I do consider all of the concepts you’ve introduced for your post. They are very convincing and will definitely work. Nonetheless, the posts are very brief for starters. May you please extend them a bit from next time? Thank you for the post.

  35. you’re really a good webmaster. The web site loading speed is incredible. It seems that you are doing any unique trick. Also, The contents are masterwork. you’ve done a magnificent job on this topic!

  36. BIBHASH ROY says:

    Few days ago, my scala worksheet used to be interactive – meaning, on writing a line of code, it will automatically compile and the results used to be printed on the right pane. Now this is no more happening and I have to click the green button for evaluating the worksheet – why this is happening?

    • Dmitry Naydanov says:


      Do you use the same worksheet as few days before, with ‘Interactive mode’ setting checked? Also, do you use compiler server? Do you have other problems with compilation?

      Best regards,
      Dmitry Naydanov

      • Bibhash Roy says:

        How to set Scala worksheet to interactive mode – do I need to configure settings? If yes, please let me know how to do it. I do not understand it how the behavior got changed – now I have to press the green (“evaluate worksheet”) button always to execute code and get results.

  37. I started creating templates, but I don’t know how to make demos in my Joomla website, for my visitors to test them..
    comment tomber enceinte de jumeaux

  38. Evita Callam says:

    As I web site possessor I believe the content material here is rattling fantastic , appreciate it for your hard work. You should keep it up forever! Best of luck.

  39. Misha says:

    Hello there,

    I am able to see instant evaluation when I include my code in a singleton object.
    However, when I include the object inside a package like so:

    package ABC {

    object BLAH {


    then I no longer see anything evaluated on the right hand side of my Scala Worksheet.
    I am new to Scala, so I’m not sure what I am doing wrong…

    Thanks in advance!

    • Craig says:

      I’m having the same problem. I’ve previously been using Eclipse, but wanted to try IntelliJ for a course I’m doing (it’s used in part of the course). But since it doesn’t currently work, back to Eclipse.

  40. Alex Tah says:

    is it possible to get the evaluated output to be placed right in the code window, and next to the relevant line of code (as in Eclipse), rather than a separate tab to the right?

  41. Alexander Podkhalyuzin says:

    The main idea behind separate tab is not to change user file at all. If you have any problems with tab synchronization or something else, please report it in our issue tracker. IntelliJ IDEA also recently supported inline hints (with no file change), so probably we will reuse this functionality for worksheets when it will support multiline hints.

  42. you are truly a good webmaster. The site loading speed is amazing. It kind of feels that you are doing any distinctive trick. Moreover, The contents are masterpiece. you’ve performed a magnificent task in this subject!

  43. ibet says:

    (“evaluate worksheet”) button always to execute code and get results.

  44. It’s great to discover some sort of blog site each occasionally of which isn’t the same obsolete rehashed material. Fantastic understand!

Leave a Reply

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