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: empty tab names #610

Closed hugows closed 1 month ago

hugows commented 4 months ago

The way I've been using RunJS I'm just ending up with a "unnamed" tabs that I'm not really ready to close. They are useful tidbits of code that I want to have handy.

I wish there was a way to make the tab space reflect something about the buffer contents - maybe the first line, or first function, or some AI generated name, etc.

Alternatively, if some history of the tabs I had was saved, I would close some of those tabs...

lukehaas commented 1 month ago

@hugows in the latest release of RunJS tab titles will now default to the first line in the editor.

hugows commented 1 month ago

Love it, thanks!