Restore TerminalsAutomatically spawn integrated terminal windows and split terminals, and run any shell commands when VSCode starts up! How to useSimply configure your VSCode settings JSON file to look something like this:
The outer array represents a integrated VSCode terminal window, and the You can also use a custom config file under. The file should be at Extra infoThe order of split terminals from left to right is the order in the array. You can manually trigger the restoration of terminals by running If you find the extension glitching out, try increasing the If you do not want this extension to close the currently open terminal windows, you can simply set If you do not want it to restore terminals on VSCode startup, but instead only run when you trigger it manually from the command palette, then set If you don't want the commands to actually run, just be pasted in the terminal, then set If you don't like using split terminals, then just provide one object in each split terminal array, which should be the intuitive thing to do. ContributionsUnless you can 100% prove your contribution fully works with a video, and the code is clean and makes sense, I am no longer accepting contributions. Too many contributions have been submitted that don't work, and the VSCode official API doesn't work in many cases, and this extension already uses a couple hacks to get around it. Enjoy! |