Save state of Anonymous Apex and SOQL Query tabs other than "Default"

Issue #202 resolved
Vivek M. Chawla created an issue

I've noticed that IC saves the contents of the "Default" anonymous Apex tab so that the contents of that tab remain available even after restarting IDEA.

It would be nice if the state of ALL other anonymous Apex and SOQL query tabs was also somehow saved, just like the "Default" tab is.

I know that we can save the contents of a tab to disk, and then reopen, so this is by no means a critical request. Just a small "nice to have". :-)

Comments (23)

  1. Scott Wells repo owner

    Raising the priority since one user had the IDE crash while working on several Anonymous Apex scripts and only one was recovered successfully. If these are truly going to be valuable scratch spaces as people work, they all need to be preserved.

  2. Scott Wells repo owner

    Definitely planning to add this, though I don't have it slotted for a release just yet. I'll take another look and see if I can work it into a relatively near-term release. I know many would find it quite useful (myself included!).

  3. Scott Wells repo owner

    This is coming soon, and for real this time vs. the "relatively near-term release" comment from 2017!

  4. Scott Wells repo owner

    FYI, this is currently in-progress, hopefully for release later this week. It includes saving of multiple Anonymous Apex/SOQL Query tabs including all details, the ability to rename tabs as desired for organizational purposes, and hopefully some additional features to execute Anonymous Apex and SOQL Queries easily from file and the main editor using code intentions.

  5. Roman Prytkov

    Scott, this is wonderful! I am losing important information from time to time without this feature - especially when IDE proposes to re-load )

  6. Scott Wells repo owner

    Hah! I deserve to be reprimanded for waiting so darned long to implement this. Should've done so long, long ago. Anyway, it's coming very soon.

  7. Log in to comment