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
2.05k stars 45 forks source link

feature request: empty tab names #610

Closed hugows closed 6 months ago

hugows commented 9 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 6 months ago

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

hugows commented 6 months ago

Love it, thanks!