SQL Complete lets you restore closed SSMS document sessions. By default, this option is enabled, and SQL Complete restores the tabs of the latest SSMS session and SQL Server connections, so you can quickly pick up where you left off.
This topic describes the following features:
To enable or disable document restoration, do the following:
1. Go to the SQL Complete menu and select Options.
2. On the General tab, select or clear the Enable document restoring option.
To restore a document session, do the following:
1. Go to the SQL Complete menu and click Documents Sessions.
2. The Documents Sessions window opens with a list of your recent sessions. Note that if one of the sessions is running on another SSMS instance, you will not be able to activate it or perform any action with it in your current SSMS instance - it is disabled.
In the Documents Session, you can do the following:
SQL Complete can restore SQL documents that have been closed recently. For this, on the SQL Complete menu, click Recently closed documents and select the document you want to restore.
You can also restore the last closed document: On the SQL Complete menu, select Restore Last Closed Document or press Alt+Z.
You can close all the tabs that were not edited to clear your SSMS editor. For this, right-click any tab caption and select Close All Unmodified.