arduino / lab-micropython-editor

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

Alert before quit electron with unsaved changes #114

Closed murilopolese closed 6 months ago

murilopolese commented 6 months ago
ubidefeo commented 6 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 6 months ago

@ubidefeo

This is a design decision.