arduino / lab-micropython-editor

Arduino Lab for MicroPython is an Integrated Development Environment (IDE) for MicroPython.
GNU Affero General Public License v3.0
224 stars 28 forks source link

Alert before quit electron with unsaved changes #114

Closed murilopolese closed 7 months ago

murilopolese commented 7 months ago
ubidefeo commented 7 months ago

A bit of an edge case, but maybe not that edge :)

When I launch the editor the "new file" is pre-filled and its tab's dirty indicator (*) is already present. Of course the file has not been saved yet, but I am still able to add my own code, run and test things out. If I close the editor or the tab in question I do not get prompted to save, and I see this as lacking in this feature

murilopolese commented 7 months ago

@ubidefeo

This is a design decision.