Push/pop workspace editors layout in VS Code?

Push/pop workspace editors layout in VS Code?

Is it possible to temporarily save-state and restore-state of editor layout in VS Code?

For example, if I have a lot of editors open, and I need to switch gears and do an entirely different task, requiring me to close all my editors and open a bunch more, but I want to restore them exactly as they were, all my splits and tabs, can I save this state, change it, and restore to this state?

Answer

I can't find it built in to VS Code, but the Restore Editors extension does this, although you have to name the layout.

Enjoyed this article?

Check out more content on our blog or follow us on social media.

Browse more articles