nurpax / petmate

PETSCII editor with Electron/React/Redux
MIT License
179 stars 14 forks source link

Remember the recently opened files and folder locaction #133

Open Esshahn opened 5 years ago

Esshahn commented 5 years ago

screenshot 2019-01-16 um 13 57 55

It would be fantastic for the workflow to have two features added here:

  1. Remember folder location for "Open file..." , "Save file..." and "Export as..." separately Reason: That way you can keep your design files at one location and export the files to another. Example: I want to quickly export the assembly source into my current projects "asm" folder without dragging it into there from whereever I saved the source file.

  2. Have a "Recent files..." entry that let's you quickly load in one of the last 5 petmate files

nurpax commented 5 years ago

100% agree. Does the Open file recents tab work in the dialog. That should be fixed too if it doesn’t work.

Not sure how the OS open dialog remembers the last location. Maybe there’s some option to make it work without adding this state in my own code.

nurpax commented 5 years ago

Btw this works now in master:

image

But the "Recents" list in Finder doesn't seem to list any .petmate files (even though I register them to recent documents in Petmate). Will need to look into this a bit more.

I realize the Recents (dock menu, finder) is not the same thing you're asking in this bug but macOS/Windows recent files integration is pretty good to have anyway.