lunapaint / vscode-luna-paint

A raster image editor extension for VS Code
https://marketplace.visualstudio.com/items?itemName=Tyriar.luna-paint
279 stars 25 forks source link

Offer to init file rather than "Error: Not enough bytes"? #179

Closed JacksonKearl closed 1 year ago

JacksonKearl commented 1 year ago

Muscle memory has me creating files via the explorer then "initializing" them using the editor. This doesn't work with luna, perhaps a button here that would somehow fill in the appropriate contents, following the "Luna: New Image" flow?

Screenshot 2023-04-16 at 11 11 55 AM
Tyriar commented 1 year ago

I worry about accidental data loss if we offer a button, but we could just initialize an empty image when opening a file containing 0 bytes.