JSLab feature notes: one docs page, explained. Today: Your first tab .
A scratchpad lives or dies on one question: is my stuff still there tomorrow? In JSLab, a JavaScript & TypeScript scratchpad for macOS, the answer is yes, and this note covers how.
Session restore
Quit JSLab and relaunch, and it brings back:
your tabs and their code;
each tab's layout, folds, cursor and scroll position;
the window's size and the display it was on.
Also kept per tab: its working directory and whether its Web View is showing. Each tab's AI Chat conversation comes back too.
The session lives in session.json in JSLab's data folder. If that file can't be read, JSLab restores it from its backup when it can and tells you.…