RunJS icon indicating copy to clipboard operation
RunJS copied to clipboard

Implement "*" suffix for unsaved file in tab title

Open suns-echoes opened this issue 3 years ago • 6 comments

It would be nice to know if the file is not saved (or changed) by adding star "*" to the title in the tab.

Right now I don't know if files are up-to-date.

suns-echoes avatar Jan 10 '23 12:01 suns-echoes

@suns-echoes which version of RunJS are you using?

lukehaas avatar Jan 10 '23 12:01 lukehaas

2.7.4 / Windows

suns-echoes avatar Jan 10 '23 13:01 suns-echoes

This version indicates an unsaved status using a circle: Screenshot 2023-01-10 at 14 07 35

lukehaas avatar Jan 10 '23 14:01 lukehaas

Okay, I somehow missed that. Anyway there is no indicator if file was never saved nor loaded from filesystem. In this case it just looks like it's "saved".

suns-echoes avatar Jan 10 '23 14:01 suns-echoes

there is no indicator if file was never saved nor loaded from filesystem. In this case it just looks like it's "saved".

That's right. The reason for this is because saving/opening files is really a secondary feature of RunJS, just there if you want it. It's primarily a playground and your code is auto-saved internally, so in most cases, there won't be a need to save files.

lukehaas avatar Jan 10 '23 14:01 lukehaas

Thank you for explanation. I think this issue can be closed.

suns-echoes avatar Jan 10 '23 14:01 suns-echoes