How can I automatically switch VS Code layouts based on which display I'm using?

Viewed 12

I have a main setup with a large monitor, where I like to have multiple code windows open side by side. However, sometimes I work on my laptop, and I can only really use one code editor window at a time. What I'd like is to be able to have the layout switch between a multi-editor one and a single-editor one whenever I unplug my display from my laptop, and then switch back when I plug back in. Is this possible?

0 Answers
Related