lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2k stars 43 forks source link

feature request: save session #590

Closed shahul01 closed 5 months ago

shahul01 commented 8 months ago

bulk save all opened js/ts code as zip or any other format and if they're saved, add title and location

eg say zip is an array with collection of js / ts files [ {isSaved: true, title: 'hello', location: 'x:/y/z', code: "<js/ts code here>"}, // already saved file {isSaved: false, title: 'world', location: '', code: "<js/ts code here>"}, // unsaved file ]

I use RunJS for coding challenges. This will help me save the session as recurring backup instead of saving every single temporary file that I go through every now and then trying to solve it and deleting the solved file if its not that important..

lukehaas commented 8 months ago

I can't really see why this would be needed when RunJS already auto-saves internally on run. So there isn't really a need to manually save to a temporary file.