What is Fast Exit?

I just noticed “fast exit” in the File menu. How is that different from Exit? When was that added. I never noticed it before.

Cheers,
Russ

Toad will not prompt you from the Editor (or anywhere else) to save work (it will not save)

I think also commit/rollback prompts are suppressed.

Settings and workspaces are still saved.

It was added in version 15.1

WOW, I have been pretty unobservant then. I may want to use that, but it does goes down the data loss path which must be understood.

Cheers,
Russ

If you use auto-saved workspaces in toad, your editor contents are preserved there even with fast exit.

If you want to try that:

  1. Click the button next to <No Workspace selected> on the main toolbar
  2. Choose "Save as" to make up a name for your current workspace (which is active connections and opened windows)
  3. Repeat step 1
  4. Choose "Workspace options" and Check "Auto-save" and "Auto-load" in the dialog

Now when you close Toad, it will remember your active connections and windows. When you restart Toad it will make those connections again and open all those windows. Editor contents will be preserved.

You can make as many different workspaces as you want.

I have never used workspaces, but I can see from your explanation that I have been missing something important. I will start using them.

The behavior you describe is just like VSC and NP++. I love that even unsaved work is preserved across app sessions. With those, I can just hit the X and everything goes away without lots of save this, save that prompts. Then it all just comes right back next time.

Cheers,
Russ

Some people also just set it to auto-save but not auto-open, and have lots of different workspace for different situations.

That sounds like a plan. VSC is similar to that.

But, question: Is auto-open by workspace, or does it open all defined workspaces on startup?

Cheers,
Russ

Auto-open will open whichever workspace was active when toad closed.

1 Like

Is it one workspace at a time like VSC?

I don't use VSC so not familiar with that, but yes it's one workspace at a time.

1 Like

I am going to start using workspaces and recommend it to my team. Thanks so much for let5ting me know about that.

Cheers,
Russ

You're welcome. Let me know what you think/if you have any suggestions.

For 26.1, we added the ability to export/import individual workspaces (before that, you could share the entire ToadWorkspaces.dat for all of them)

1 Like

Alright, something I’ve noticed is that Toad workspaces are not “save as we go” like VSC and NP++ but “save on close”. When I made Toad crash with unsaved changes in an editor, those changes were gone when I restarted. Unsaved changes are only preserved when a normal exit occurs.

I don’t know if anything can be done in the Toad code base to change that behavior. I suspect it would entail substantial recoding. It is at least something to be aware of.

Also, I am not comfortable with the auto-commit on fast exit. I would like to have the option to make it respect the auto-rollback on disconnect setting.

Cheers,
Russ

You can always manually save the current workspace (there's a save button in the menu next to it). Maybe we could save after certain events (like when you toggle to a different window, etc). Constant recording might be a bit much.

I could add commit/rollback options for fast exit. We're in "fix only" mode now though for 26.1, but I can do that for 26.2. In the meantime, you can always rollback before you fast-exit, but maybe that defeats the purpose of it being fast :sweat_smile:

Well, it is important to at least be aware of how it works.

What is the target release date for 26.1?

Cheers,
Russ

end of February

1 Like

So, someone in this Toad for Oracle Beta post asked for fast exit by connection. Did that ever go anywhere?

No, I think I forgot about it. I'll log it so I don't forget again.

There is, however, an option for the editor to not prompt to save. Options -> Editor -> Open/Save. Under "File loading/saving" on the right.

Also, the release date is actually March 2, not end of Feb.

1 Like

Yeah, I would never want to not be prompted to save since I always have so much going on. The workspace feature makes that less relevant except with the no save on crash thing.

I am also wondering what would happen if my VDI is automatically shutdown or restarted by the “system” when I have Toad up with an unsaved workspace. When I get done for the day, I let my AWS session time out on its own. That leaves the VDI behind it active. When I connect back up, the VDI still has my ongoing work running including Toad. From time to time, however, the VDI is shutdown or restarted for updates. If the O/S signals Toad to shutdown, does the save workspace operation take place?

Cheers,
Russ

26.1 will save workspaces if auto-save is enabled and we get a "windows is shutting down" message from the OS.

25.3 will not.

1 Like