Save and Restore EditorsSometimes we need to stop on what we work and do something else. And for this we need to close all or some of the currently opened text editors. But later we want to work again on currently opened text editors. This extension allows you to save sets of all opened text editors. Then you can restore (reopen) them and also remove one of them from the saved sets. When restoring tabs, the tab groups will be (partially) preserved but not their arrangement in window. Also the active editor in restored tab groups will not refect the one at the time of save. The preservation can be only partially as only text files will be restored. The list of saved sets is stored in the first workspace folder in .vscode/save-restore-editors.json file. If you make changes in this file and you corupt its structure, the extension will create instead a new empty file. In the future is planned to be added a panel to Visual Code where you can see and manage all these saved sets and also which files will be open. SponsorshipBy purchasing Coding Guidelines for React with TypeScript from any Amazon website, you will get a set of guidelines for writing a clean, maintainable, and efficient code. Also you will sponsor me, showing your appreciation for my effort in creating and mentaining this extension. Features
CommandsThis extension makes available the following commands:
Keyboard shortcuts for commandsYou can define keyboard shortcuts for the often used above commands. In An example of keyboard shortcuts can be:
For more details check Advanced customization on Visual Studio Code documentation. Usage - examplesSave the list of all currently open editor views
Re-open a set of saved editors
Replace the list of all currently open editor views
Replace currently open editor views and delete the saved set
RequirementsThere are no special requirements. Extension Settings
Known IssuesThe vscode.workspace.textDocuments does not return the URI for the tabs which were not made visible (open) by the user. This happens when you start Visual Code and the previous set of opened editors are loaded by Visual Code. The preview of images open at save time is not happening after restore. Change LogSee Change Log here IssuesSubmit an issue if you find any bug or have any request. ContributionFork the repo and submit pull requests. |