Early Access Program Features

IntelliJ IDEA 14 EAP 138.2210 Brings Scratch Files and Better Mercurial Integration

Good news, everyone! Fresh IntelliJ IDEA 14 EAP build is released, bringing more goodies for you to check out.

First, the so called Scratch Files, a very handy feature that helps you experiment and prototype. With this feature you can sketch something really quick right in the editor, without modifying your project or creating any files.

You can open an infinite number of Scratch Files and easily switch between them. IntelliJ IDEA will provide all of its coding assistance features for these files according to the type you will select for them in a status bar widget.


Mercurial integration is also improved with the support for Synchronous Branch Control and Subrepositories support.

If you ever worked with our Git integration, then you know that IntelliJ IDEA can perform branch operations on multiple repositories simulaneously. Now this feature is available for Mercurial repositories as well:


To toggle this option, go to the Settings → Version Control → Mercurial → Control branches from different roots synchronously:


Windows users will be happy to know that IntelliJ IDEA installer now bundles Java 8 Update 20.

For the complete list of changes, check out the Release Notes.

As always your feedback is very welcome in our discussion forum. In case something doesn’t work as expected, don’t hesitate to report bugs directly to the issue tracker.

Develop with Pleasure!



Comments below can no longer be edited.

30 Responses to IntelliJ IDEA 14 EAP 138.2210 Brings Scratch Files and Better Mercurial Integration

  1. Avatar

    Martin says:

    September 17, 2014

    Still waiting for the SVN update fix. Big project, 7 SVN directory roots, update is failing for 3 EAP builds now. Too bad.

    • Avatar

      Konstantin Kolosovsky says:

      September 17, 2014

      Are you talking about this bug? It should already be fixed – you could check the fix in next EAP.

      If you have some other case please submit corresponding issue to tracker.

      • Avatar

        Martin says:

        September 18, 2014

        Well, yes, most likely. Slight differences in stack trace though. Can’t really tell you now as it is fixed in build 2288, so I have to wait 2 weeks.. 😉

  2. Avatar

    Stephan says:

    September 17, 2014

    Scratch files are nice. Anyhow, they would be even more useful if I could run or even debug the content, i.e. Java code.

    • Avatar

      Stephan says:

      September 17, 2014

      I have made a feature request for this:

  3. Avatar

    Igor K says:

    September 17, 2014

    Finally scratch files! Waited wto years for this feature!

    • Avatar

      ks says:

      October 7, 2014

      11 years.

  4. Avatar

    Alejandro Hdez. Angeles says:

    September 17, 2014

    Well. I created a Java scratch file:
    public class Demo {
    public static void main(String[] args) {

    How do i run/debug it?

    • Avatar

      Stephan says:

      September 18, 2014

      It is not possible at the moment. I’ve created a feature request for this: IDEA-129961.

  5. Avatar

    Hai says:

    September 17, 2014

    I hope IDEA-87346 and IDEA-118073 can be fixed in IDEA 14. But I just realize that Yann Cebron changed it from 14 to 14.X. These issues was delayed from version 12 to 13.

  6. Avatar

    Olivier says:

    September 17, 2014

    Is the Mac Community edition compatible with Java 8 update 20?

  7. Avatar

    Maciej M says:

    September 18, 2014

    Is ‘Scratch Files’ the same as https://github.com/dkandalov/scratch ?

  8. Avatar

    Mike says:

    September 18, 2014

    Scratch files sound very handy, I routinely use IntelliJ to format XML. Usually I create a temp.xml file in my project cut/paste my XML in and run code reformat on it. A scratch file would be nice for this!

    I agree though, they would be infinitely more handy if you can execute them, I have voted for http://youtrack.jetbrains.com/issue/IDEA-129961

    • Avatar

      Sergey Ignatov says:

      September 22, 2014

      Thanks for your vote, will think about.

  9. Avatar

    xMort says:

    September 30, 2014

    How scratch files work when you disabled tabs in UI and use just ctr+(shift+)+E to switch between files?

  10. Avatar

    Mike says:

    October 10, 2014

    Couple of issues with scratch files:

    1. In the help, they mentioned «Ctrl+Shift+Alt+Insert» combination to create a scratch file, but in menu the other combination appears — «Ctrl+Alt+Shift+Insert».

    2. Suppose, I created this scratch file, filled it, but how can I save it?

    3. It will be great if I will can create a scratch file straight from the «Welcome to IntelliJ IDEA» screen, without the need to create a new project at all. Ideally, it should be a separate option, like «Create New Project» or «Import Project» or «Open…».

    4. The idea of scratch files is good, but without the ability to run/debug such file it doesn’t worth a lot.

  11. Avatar

    jujuju says:

    November 10, 2014

    First I was so happy…
    Then I realized we can’t run a scratch file, nor save it to a new file
    Finally I’m disappointed

    • Avatar

      Andrey Cheptsov says:

      November 13, 2014

      It’s in our plans.

  12. Avatar

    Paidhi says:

    November 12, 2014

    This might be a stupid question but:
    Scratch Files are dying if you close the project, right? Or how does one recall a scratch file after e.g. closing the IDE?

  13. Avatar

    Artur says:

    November 27, 2014

    Can I resore scratch after reboot program (when I close it and then run it again)

  14. Avatar

    Yafou says:

    December 10, 2014

    +1 !
    running scratch file as main() would be very useful !

  15. Avatar

    Victor says:

    February 28, 2015

    +1 save scratch and run it
    Every developer keeps a bunch of helper scripts/utilities (SQL,cmd, Java) floating around, and not needing to be part of the project.
    It would be awesome if you could run them and get back to them after a restart of the IDE !!!!

  16. Avatar

    Dan Vega says:

    March 12, 2015

    If I create a new JSON scratch pad and copy an unformatted JSON response into the file it does not get formatted. My impression was that formatting would happen automagically. Am I missing something?

    • Avatar

      Andrey Cheptsov says:

      April 1, 2015

      It doesn’t reformat the code on paste, so you have to invoke reformatting manually via Alt + Ctrl + L

  17. Avatar

    sundyli says:

    March 19, 2015

    how could I find scrapy file after closing it? It should be a customized direction to store the scrapy files.

    • Avatar

      Andrey Cheptsov says:

      April 1, 2015

      In 14.0 you could find them in Recent files. In 14.1 they all are permanently available in the Project tool window, you need to switch to the Scratches tab.

  18. Avatar

    TWiStErRob says:

    April 27, 2015

    The idea is good, but it’s pretty useless if you can’t save it.
    Also creating from Tools menu is as counter-intuitive as it can get, why do you have a File > New > submenu then?

  19. Avatar

    hmuenster says:

    February 12, 2016

    Why can’t I save a scratch file with whatever filename I want and in whatever location I want?

    Why can’t I just create a new file – again with whatever filename I want and in whatever location I want? Sometimes I just need to create a text file for notes or as data. Why do Jetbrains IDEs make this a difficult chore?

    Thank god that at least once the file exists in the filesystem, the IDE allows me to just open it. Now we just need to convince the developers that we should be allowed to *create* a new file wherever we want.

  20. Avatar

    Meir Goldstein says:

    April 5, 2017

    Useful, thanks!

    Any chance of releasing a Jetbrains powered text editor that can be used as default system text editor without any sort of projects? I use multiple Jetbrains products (PhpStorm, CLion, PyCharm), but just having a simple, non-project oriented one would be very helpful for just editing CSV files and the like.


Discover more